View Single Post
  #1  
Old 06-27-2012, 11:26 AM
tbird2010's Avatar
tbird2010 tbird2010 is offline
Junior Member
 
Join Date: Jun 2012
Posts: 2
Default Multiple Minicarts on same page not being displayed independently

Hi...this is a bug I reported .....but maybe someone here knows what the problem is...

Thanks!

1. Integrate two minicarts onto the same webpage using code (as per documentation)

<div>
<script type="text/javascript" src="http://app.ecwid.com/script.js?STOREID1"></script>
<script type="text/javascript"> xMinicart("style="); </script>
</div>

<div>
<script type="text/javascript" src="http://app.ecwid.com/script.js?STOREID2"></script>
<script type="text/javascript"> xMinicart("style="); </script>
</div>

2. Shop and add 1 item in store 1's bag and 2 items in store 2's bag
3.

WHAT IS THE EXPECTED RESULT?
I would expect to see both minicarts being displayed correctly i.e store 1's bag shows '1' item and store 2's bag shows '2' items.

WHAT HAPPENS INSTEAD?
Store 1's bag is shown both times! If you reverse the order of the code and show store 2's bag first, then store 2's bag is shown both times. It seems subsequent minicarts are just being overridden with whatever store is displayed first in the html.