Hi, I am having a problem with the Add to Bag button functionality that will end up determining whether or not I use Ecwid for my client's 1000-product ecommerce site.
This is similar to the problem listed in the thread:
http://www.ecwid.com/forums/showthread.php?t=4249
I have a standalone site that functions on jquery/ajax load calls into a featured content div. I am using ecwid to provide cart and checkout functionality only. I need only the "Add to Bag" and "Minicart" widgets to connect my site with the Ecwid site.
Working site is
http://theredseapress.net/awpnet. It is operating on a Joomla 2.5 platform with a custom-made product database.
I initiated your ecwid script on load of the index page which activates the Minicart widget on the top header as well.
However, the individual product pages load up through a jquery load call. This presents a problem because the Add to Bag (xAddToBag('productid=18870685')) widget is on the product page and is loaded after the widget script has already been initialized. So when I load the page it gets confused and returns a blank codeless page -- based on the previous thread because it is making a call but not receiving a response.
If you click on any of the books on the home page you can replicate the issue.
I can think of two ways of getting past this:
1) Call a specific function to load just the Add to Bag widget, which would be executed upon jquery load of the product page, or;
2) if there is a basic html link I can create to add the product ID to the cart through an anchor, that would be the easiest solution. (ie. 'ecwid.site.com/addtocart.php?productid=18870685');
I really want to use your cart -- it's well-designed, efficient, and you seem to have pretty darn good support -- but this has to work with my layout or else it's a dead end. I would appreciate any guidance or suggestions.
Cheers,
Sam