Hi, I am new to E-Junkie and in process of building a shopping cart for my bowling coach. I created a few test products and so far I'm very pleased with how simple it is to integrate. However I have run into a couple of issues that hopefully you can help me with:



1) I created a few products testing the different buttons to see how they look and react on the site. Both the E-junkie and PayPal buttons work fine for a product that does not need any additional info (drop down size). I created a product that needs a sizing drop down as i would prefer to have the shirt as only one product instead of a different product for each size. I pasted the generated code and it looks fine on the site but when i click "Add to Cart" it seems to reload page but does not open the cart. I have tried this in IE, Firefox, and Chrome and same thing happens. Any ideas what i might have done wrong ?



2) I created two "View Cart" buttons to compare the E-junkie cart and PayPal cart. Both load up fine and seem to do what they should for the two products that are working. However, while testing the PayPal shopping cart in IE, the "Continue Shopping" button closes the popup window but opens a new tab on the browser that seems to freeze. When performing the same test in Firefox and Chrome the popup closes and I and directed to the store page.



Hopefully this is just a minor tweak needed to correct. My site where I am testing is at:



http://www.worldcupbowling.net/WorldCupShirts.aspx



Thanks,



Greg

  • created

    Jun '13
  • last reply

    Jun '13
  • 1

    reply

  • 1.2k

    views

  • 2

    users

  • 4

    links

You do not need to use our "PayPal Cart" button codes if you simply want to accept PayPal checkout payments. Those buttons also no longer work correctly in many ways (including its Continue Shopping button) due to recent changes at PayPal's end that we have been unable to work around, so we're removing those button codes from our system soon. We recommend using your standard E-junkie Cart buttons, which will show buyers a PayPal checkout button in the cart, and these buttons will also provide full support for all of our features.



Now, the trouble with the Add to Cart button offering a Size menu is due to the way your site is built in ASP.NET, which wraps every entire page within an HTML form; this is how ASP.NET lets you edit your pages, but it also means that your pages cannot have any other HTML forms within the page, because forms cannot be embedded inside other forms. The button code we provide for products using Variations/Variants use an HTML form to submit the buyer's option selections (e.g. Size) to the shopping cart, so this code will not work as-is in your ASP.NET site.



If you want to offer a size selection, you will need to use a separate Add to Cart button for each size. You could do this by simply creating a separate product for each size, but there's another way you can do it with a single product. Basically, this entails adding the menu name and each selection to the end of each Add to Cart button URL, like so:



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=WC001L&cl=251567&ejc=2&on0=Size&os0=Adult+Small" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejadd_to_cart.gif" border="0" alt="Add to Cart"/></a>



That would be the button code you can use for Size: Adult Small -- note where the '&on0=Size&os0=Adult+Small' ('on0' means "option name 0" and 'os0' means "option selection 0") have been added to that button's href= URL. To create a button for other sizes, just change the &os0=Adult+Small part accordingly (use a + wherever you need a space).