I'd recommend setting up custom options for the product itself, which allow you to adjust the price according to the option that is selected. This will allow the customer to select they option that they want and see the price adjustment on the product page.
发布评论
评论(2)
打开模板文件
app/design/frontend/default/theme/template/checkout/cart/item/default.phtml
找到 foreach 循环:
在该 foreach 循环中,添加以下代码:
Open up your template file
app/design/frontend/default/theme/template/checkout/cart/item/default.phtml
Find the foreach loop:
Within that foreach loop, add this code:
我建议为产品本身设置自定义选项,这样您就可以根据所选选项调整价格。这将允许客户选择他们想要的选项并在产品页面上查看价格调整。
以下是来自 Magento 博客的有关此内容的视频: http ://www.magentocommerce.com/blog/video-custom-product-options-in-magento-11/
I'd recommend setting up custom options for the product itself, which allow you to adjust the price according to the option that is selected. This will allow the customer to select they option that they want and see the price adjustment on the product page.
Here is a video about it from the Magento blog: http://www.magentocommerce.com/blog/video-custom-product-options-in-magento-11/