Wrong price for configurable product in cart using SCP and ajax

人盡茶涼 提交于 2019-12-12 01:58:03

问题


I have a problem with the product list page (add to cart- fancy box) when you hover over product a button appears so you can quickly add a product to the cart once you do this a pop up (fancy box) appears - example of theme im using http://hellothemes.com/demo/?framework=hellonevada

all is well until you choose an option and the price resets to zero once you select the option and add to cart the lowest priced option appears only.

I am using simple configurable products and using excellence Ajax extension which I believe are the issue i belive it could be the javascript

I also notice that when the page loads the add to cart button says quick view then within a second or two changes to add to cart as if its loading one page the reverting back to another

Would really appreciate a bit of guidance on this on


回答1:


I managed to fix this thanks to someone from github.

For anyone who has the same problem I had to add this code on line 60 in my ajax.xml file app/design/frontend/default/THEME/layout/ajax.xml

<action method="addItem">
   <type>skin_js</type>
   <name>js/scp_product_extension.js</name>
</a‌​ction>


来源:https://stackoverflow.com/questions/27233180/wrong-price-for-configurable-product-in-cart-using-scp-and-ajax

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!