E-junkie - We help you sell online
World Class Solution - Damon @ PayPal
Sell & promote your products Join affiliate programs offered by sellers Shop Community
  Google Custom Search

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Show Cart always empty



oVan
member
Posts: 12


I'm trying to use the javascript version of Add to Cart and View Cart buttons. If I click on Add to Cart, the product is shown in the popup and appears as in the cart, however when I click Continue Shopping and then click View Cart, the cart is empty.
This also happens when I use the sample code from this site. Is there something that I can check to find out why this happens?

I prefer not to use the non-javascript version since this has the side-effect in Internet Explorer to always ask "Do you want to close this window?"

Thanks!


#
POSTED ON: January 8, 2009 @ 09:16 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


Could you provide the URL of the page where you're testing our cart, so we can examine that and test for ourselves?


#
POSTED ON: January 8, 2009 @ 12:49 GMT -7




oVan
member
Posts: 12


Hi Tyson,

I've put the test page here: http://test.tierkrematorium.superwasp.net/urnen.aspx

The behavior/problem is now different to my localhost-version: when you add the first product to the cart, it is shown correctly in the View Cart popup. When you add any variant of product 2, the cart is cleared and the selected variant is added...

ps: Is it normal that testing locally doesn't work? That would explain my original problem.

Thank you!


#
POSTED ON: January 9, 2009 @ 00:32 GMT -7




Stefanie
E-Junkie Crew
Posts: 115


Hi!

Testing locally doesn't work properly, so yes, that's likely why you were experiencing the previous problem.

As for the other problem you're having, a few of us have looked at it, and can't see why this is occurring! I'm bringing this to the attention of development to see if they can find a solution.


#
POSTED ON: January 9, 2009 @ 17:20 GMT -7




oVan
member
Posts: 12


That would be great, my client is waiting on this.


#
POSTED ON: January 12, 2009 @ 07:13 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 911


Your first product's currency is different that the other 3. Cart can only contain items with same currency as payment processor's only support support checkout in a single currency for obvious reasons.

Ty. and Stef. get a time out for missing this.


#
POSTED ON: January 13, 2009 @ 05:55 GMT -7




oVan
member
Posts: 12


Ah thanks for this, it makes sense now!


#
POSTED ON: January 13, 2009 @ 06:47 GMT -7




George
member
Posts: 1


I added the cart html code (and modified) on my page (http://www.fatfreecart.com/). The View Cart function doesn't work. Every time I press "add to cart", continue shopping, then press view cart, the cart is always empty.

I think it is because the data didn't write to the cookie. Don't know why. I am using IE 7, my cookie is turned on. I am sure this is an excellent product, but I just don't know where I did wrong. Could you please help? Thank you. :-)

Below is my configuration:

<!-- ADD TO CART button code. -->
<form target="ej_ejc" action="https://www.e-junkie.com/ecom/fgb.php?c=cart&cl=1&ejc=2" method="post">

<!-- google merchant id (remove if not using Google Checkout) -->
<input type="hidden" name="merchant_id" value="873010440839309" ID="Hidden1"/>
<!-- paypal email(remove if not using PayPal) -->
<input type="hidden" name="business" value="george.huang@essenix.us" ID="Hidden2"/>
<!-- site url -->
<!--<input type="hidden" name="site_url" value="http://www.essenix.com/" ID="Hidden3"/>//-->
<!-- contact email (where we can notify of the updates) -->
<input type="hidden" name="contact_email" value="george.huang@essenix.us" ID="Hidden4"/>
<!-- you thank you page -->
<input type="hidden" name="return_url" value="http://www.essenix.com/" ID="Hidden5"/>
<!-- any custom info you want to pass -->
<input type="hidden" name="custom" value="" ID="Hidden6"/>
<!-- currency (USD for Google Checkout USA, GBP for Google Checkout UK. For PayPal: any currency that PayPal supports -->
<input type="hidden" name="currency_code" value="USD" ID="Hidden7"/>
<!-- shipping cost -->
<input type="hidden" name="shipping" value="3" ID="Hidden8"/>
<!-- shipping cost of each additional unit -->
<input type="hidden" name="shipping2" value="0" ID="Hidden9"/>
<!--handling cost -->
<input type="hidden" name="handling" value="3" ID="Hidden10"/>
<!-- tax (flat amount, NOT percentage)-->
<input type="hidden" name="tax" value="0" ID="Hidden11"/>
<!-- item name -->
<input type="hidden" name="item_name" value="<%=rs("bookname")%>" ID="Hidden12"/>
<!-- item number (should be different for each product)-->
<input type="hidden" name="item_number" value="1" ID="Hidden13"/>
<!-- item price -->
<input type="hidden" name="amount" value="<%=rs("huiyuanjia")%>" ID="Hidden14"/>
<!-- initial quantity -->
<input type="hidden" name="quantity" value="1" ID="Hidden15"/>
<!-- item options (can be removed if not required) -->
<input type="image" src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" onClick="javascript:return EJEJC_frm(this.parentNode);" ID="Image1" NAME="Image1">
</form>
</td>
</tr>
</table>
<!-- VIEW CART button code. -->
<a href="https://www.e-junkie.com/ecom/fgb.php?iproof=true&c=cart&cl=1&ejc=2& merchant_id=873010440839309&business=george.huang@essenix.us" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);">
<img src="https://www.e-junkie.com/ej/ej_view_cart.gif" border="0" />
</a>

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
function EJEJC_config() {}
// -->
</script>
<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>

<!-- End FatFreeCart.com AddToCart Snippet v0.1 -->


#
POSTED ON: January 21, 2009 @ 12:49 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


George,

This site is for the E-junkie cart service. We do not offer any support whatsoever for the unrelated FatFreeCart.com free service you're using (that's one of the reasons it's free :^), so getting that to work is strictly a do-it-yourself proposition. Even for E-junkie cart, we couldn't help much without a site URL to look at where the problem is happening. Sounds like you might at least want to try deleting your browser cookies, see if that fixes things for you.


#
POSTED ON: January 21, 2009 @ 13:04 GMT -7




lisa
member
Posts: 2


I am having this same problem! My site is at www.easytosew.com. Please help!?!?


#
POSTED ON: May 4, 2009 @ 18:44 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


Lisa,

I had a look at your site and tested your cart buttons without having any problem. If you were having the problem where the cart doesn't seem to retain any items added into it, just clear your browser cookies and try again.

Sometimes when you are editing products and settings in your Seller Admin at the same time as you are testing a cart on your site, the cookie we set in your browser to track your cart's contents can get confused, so deleting your cookies should solve this by effectively resetting your cart.


#
POSTED ON: May 5, 2009 @ 12:19 GMT -7




gsfunk
member
Posts: 4


My add to cart was not working at all, then accidentally I added the first line of code twice and that lead me to this problem,

If I click on Add to Cart, the product is shown in the popup and appears as in the cart, however when I click Continue Shopping and then click View Cart, the cart is empty.

my site is

http://www.hemlytool.com/TestCart.aspx

Before the line was entered twice I was getting nothing to work when the add to cart link was used


#
POSTED ON: May 6, 2009 @ 14:11 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


The test page you linked appears to be working fine for me. I was even able to Add to Cart every combination of product options you offer on that page, and all of those Variants were retained in my cart without any problems. Did you try removing all your browser cookies before testing the cart yourself?


#
POSTED ON: May 6, 2009 @ 18:57 GMT -7




lisa
member
Posts: 2


Thank you so much for your replies, Tyson! I figured out that I had to add the "view cart" button to all of my pages and then it worked perfectly, and forgot to update here. Thanks again. I am so happy with e-junkie so far! :)


#
POSTED ON: May 7, 2009 @ 08:03 GMT -7




DJL
member
Posts: 1


I'm having the same problem. It worked fine and all of a sudden, the shopping cart is always empty when I click on "view Shopping Cart."

Here are three links:
http://leitesculinaria.com/wordpress/new-portuguese-table/order-a- signed-copy-of-new-portuguese-table/

http://leitesculinaria.com/wordpress/store/the-well-dressed-food- company/

http://leitesculinaria.com/wordpress/classes/food-writing-class-how- to-write-a-winning-pitch-letter-with-renee-schettler/

I'm on a Mac and it does work on Firefox and Opera but not Safari or AOL.


#
POSTED ON: June 1, 2009 @ 09:24 GMT -7


You must be logged in to make a post. Please click here to login.

PayPal Certified Integration Google Checkout Certified Integrattion 30 Day Money Back Guarantee Slam the Online Scam
 Share this page!