价格错在车配置的产品中使用SCP和AJAX [英] Wrong price for configurable product in cart using SCP and ajax

查看:158
本文介绍了价格错在车配置的产品中使用SCP和AJAX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的产品列表页面的问题(添加到cart-花哨的框),当你在徘徊的产品会出现一个按钮使您可以快速添加产品到购物车,一旦你做到这一点弹出(花式盒)出现 - 使用例如主题的IM http://hellothemes.com/demo/?framework=hellonevada

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.

我使用的简单配置的产品和卓越的使用Ajax的推广,我相信有这个问题我相信的也可能是JavaScript的

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

真的AP preciate一点在这个指导

Would really appreciate a bit of guidance on this on

推荐答案

我设法解决这个感谢的人从github上。

I managed to fix this thanks to someone from github.

对于任何人谁都有同样的问题,我不得不在我ajax.xml文件中添加上线60本code 应用程序/设计/前端/默认/主题/布局/ ajax.xml

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>

这篇关于价格错在车配置的产品中使用SCP和AJAX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆