我正在寻找Magento商店的解决方案或扩展程序。
我需要一项功能,即客户可以多次添加不同产品类型的产品。
victoriassecret.com有它,它真的很酷。
它被命名为"一次添加更多" 例如:http://www.victoriassecret.com/panties/5-for-26-styles/thong-panty-allover-lace-from-cotton-lingerie?ProductID=187902&CatalogueType=OLS
我尝试在magento中创建Grouped,Configurable,Bundle,但它的工作方式不同。
请有人帮忙吗? :)
谢谢!
答案 0 :(得分:0)
我在暗示我脑海中出现的逻辑。
我认为您需要在产品详情页面中进行自定义。您需要获取所有可配置的选项,例如颜色大小,它将与sku匹配。
假设您有一种名为“thong-panty-allover-lace-from-cotton-lingerie”的产品。
如果您有三种颜色,则需要添加三种产品
thong-panty-allover-lace-from-cotton-lingerie-blue
thong-panty-allover-lace-from-cotton-lingerie-red
thong-panty-allover-lace-from-cotton-lingerie-green
你必须在逻辑上进行编码,并且需要找到类似“thong-panty-allover-lace-from-cotton-lingerie”的sku。
您的自定义代码将是这样的
<?php
if($_REQUEST['CatalogType']=="OLS"){
....
...
$sku = "some value";
fetch sku of product id " 187902 "and fetch other products which SKU is like $sku.
After this , in loop , create HTML and SIZE and Color dropdown of each product.
and on add button , add that product in cart separately.*/
}
?>
希望这对你有所帮助。 从我的角度来看,我刚刚分享了我的想法,你如何继续前进。