On our product page, we changed something, somewhere which prevents postbacks from working. If we add something to the cart, it doesnt pop up in the minibasket. if you refresh the page, it is there as normal. This leads me to believe the code is still working ok, but something is obstructing the javascript.
Any ideas? What part is responsible for calling the ajax to add stuff to cart?
update: version is 7.0.3. This feature worked yesterday, and my coworker says app_code hasnt been touched. I tried the hotpatch for 7.0.3 but no changes.
in addition, product reviews panel does not become visible when the link is clicked. this may be some sort of global ajax issue.
Add to cart( buyproductdialog ), not postbacking
- William_firefold
- Commander (CMDR)
- Posts: 186
- Joined: Fri Aug 01, 2008 8:38 am
Re: Add to cart( buyproductdialog ), not postbacking
It could be some AJAX problem, after adding product to cart you need to update the mini-basket control as well because if AJAX is enabled then you would need to update those controls which needs to reflect the new information but are not in same update panel.
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Add to cart( buyproductdialog ), not postbacking
Mazhar,
You wrote:
I'm still pretty new to some of this.
How does one update the stuff in one panel when the information in another panel is changed?
You wrote:
It could be some AJAX problem, after adding product to cart you need to update the mini-basket control as well because if AJAX is enabled then you would need to update those controls which needs to reflect the new information but are not in same update panel.
I'm still pretty new to some of this.
How does one update the stuff in one panel when the information in another panel is changed?
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Add to cart( buyproductdialog ), not postbacking
Hello,
Have you tried re-setting the page from the admin side?
Backup the page first as it will remove your changes to the file.
/Admin/Website/CustomizedPages.aspx
Have you tried re-setting the page from the admin side?
Backup the page first as it will remove your changes to the file.
/Admin/Website/CustomizedPages.aspx
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Add to cart( buyproductdialog ), not postbacking
Mike,
I am not sure what you mean "re-setting the page from the admin side".
It seems you totally missed my question.
If I have two (or more) panels on the page, update something (e.g., qty) on one panel....how do I get it to update a separate panel on the same screen?
That still might not be a clear question..I'll keep trying to define the question better if you keep trying to answer.
Thx
I am not sure what you mean "re-setting the page from the admin side".
It seems you totally missed my question.
If I have two (or more) panels on the page, update something (e.g., qty) on one panel....how do I get it to update a separate panel on the same screen?
That still might not be a clear question..I'll keep trying to define the question better if you keep trying to answer.
Thx
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Add to cart( buyproductdialog ), not postbacking
We just ran into a problem with two different sites where conlibs had been commented out instead of removed and they were interfering with the post back. One was the simplesearch in the header because it was moved to the left nav. The other was in Show Product 1.htm where all the review code was commented out instead of removed. Sometimes it just doesn't work to comment out conlibs or sections of conlibs with <!-- -->
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Add to cart( buyproductdialog ), not postbacking
On updating one panel when another is updated, you can do something like the following- we do it when we put the minibasket in the store header
<Ajax:UpdatePanel ID="UpdateBasket" runat="server">
<ContentTemplate>
[content goes here]
</ContentTemplate>
</Ajax:UpdatePanel>
<Ajax:UpdatePanel ID="UpdateBasket" runat="server">
<ContentTemplate>
[content goes here]
</ContentTemplate>
</Ajax:UpdatePanel>
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx