定制 controlaltdelete/swatches-sku 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

controlaltdelete/swatches-sku

最新稳定版本:v1.0.0

Composer 安装命令:

composer require controlaltdelete/swatches-sku

包简介

README 文档

README

Description

This module allows you to retrieve the SKU of the current selected SKU.

Usage

Require it in your component:

define([
    'uiComponent',
    'ControlAltDelete_SwatchesSku/js/model/selected-product-sku',
], function (
    Component,
    sku
) {
    'use strict';

    return Component.extend({
        sku: sku
    });
});

And then in your HTML:

<!-- Output the selected SKU -->
<span data-bind="text: sku"></span>

But you can also use it with computed observables:

var result = ko.computed( function () {
    return 'The selected SKU is ' + sku();
});

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Licence

OSL - Open Software Licence 3.0

Copyright

(c) Control Alt Delete

统计信息

  • 总下载量: 184
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2023-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固