定制 kuriousagency/commerce-currency-prices 二次开发

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

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

kuriousagency/commerce-currency-prices

最新稳定版本:3.0.0-beta.5

Composer 安装命令:

composer require kuriousagency/commerce-currency-prices

包简介

Adds payment currency prices to products

README 文档

README

Adds the option to set product prices in different currencies

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require webdna/commerce-currency-prices
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Currency Prices.

Currency Prices Overview

Configure your payment currencies in Craft Commerce settings - foreach currency set the conversion rate to 1.

Screenshot

Additional currency price fields will be added to Products, Discounts and Shipping Rules.

Products

Products will now display a price field for each currency setup.

The product price used in the cart will change depending on which payment currency is selected.

Screenshot

To display a product currency price use one of the the following Twig filter:

{{ product.defaultVariant|currencyPrice('GBP') }}

{{ product.defaultVariant|currencySalePrice('GBP') }}

The current cart payment currency could be used to set the currency in the Twig filter:

{{ product.defaultVariant|currencyPrice(cart.paymentCurrency) }}

{{ product.defaultVariant|currencySalePrice(cart.paymentCurrency) }}

Discounts

Add product discounts for each of your currencies

Screenshot

Shipping

Setup shipping conditions and costs for each of your payment currencies.

Shipping Conditions

Screenshot

Shipping Costs

Screenshot

Currency Fieldtype

Adds a 'Currencies' fieldtype giving a dropdown list of payment currencies

Brought to you by webdna

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-12-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固