且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在opencart产品中设置自定义价格?

更新时间:2021-12-07 10:01:51

您可以使用opencart提供的默认折扣功能设置不同的价格范围:-

You can set different price range by using the default discount functionality provided by opencart :-

在管理部分中,单击您要设置不同价格范围的某些产品的编辑;然后转到折扣"标签并填写以下条目:

In admin section click on edit for some product you want to set different price range to; then go to discount tab and fill entries as below:

quantity  priority  price
   6         0        50
   11        0        45
   16        0        40

假设产品价格为$ 100. 基于以上折扣情况,将是:-

Let say product price is $100. Based on above discount scenario will be like:-

qty <= 5 price will be $100/unit; 
qty > 5 price will be $50/unit; 
qty > 10 price will be $45/unit; 
qty > 15 price will be $40/unit;

此外,您可以使用正常方式的选项.客户根据该价格选择的任何选项都将添加/订阅.

Alongside you can use option in normal way. Whichever option selected by customer based on that prices will add/sub.

无需设置子选项来管理不同的价格范围.

There is no need to set sub option to manage different price range.