E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2012, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Wed, 18 Feb 2009 01:18:34 GMT Fri, 10 Feb 2012 16:08:25 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #7 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Wed, 18 Feb 2009 01:18:34 GMT E-junkie Discussions; Outshine Post #6 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Wed, 18 Feb 2009 01:15:41 GMT
As for forcing the cart cookie to reset, or deliberately causing the cart to "forget" its contents between views, I have assigned the matter to our Lead Developer's attention, as that would be up to him to consider and offer a solution, if indeed one is possible at all. You might be able to figure something out on your own by examining the cookies our cart sets in your browser. Since our standard browser overlay works "inside" your page, cart-related cookies would be set as a first-party cookie with your site's own domain. I think ej_ejc_cart_idXXXXX is the main cart-tracker cookie (where XXXXX is your client ID, apparently 48651 in your case, looking at your sample URL above), and it appears that deleting that cookie in the buyer's browser should clear their cart contents.]]>
E-junkie Discussions; E-junkieGuru
Post #5 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Tue, 17 Feb 2009 23:07:39 GMT E-junkie Discussions; Outshine Post #4 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Thu, 12 Feb 2009 21:00:59 GMT
As always, thank you for taking the time to provide your expertise.

Regarding the quantity issue, I took a look at that product in the seller admin and I'm showing the only product requirements I have checked are "Let buyers edit quantity in cart" and "Shipping/Buyer's Address". I don't have "Inventory Control" checked. Is there something else in the configuration I need to change?

Regarding the cart issue, would it be possible to clear that cookie each time "Add to Cart" is pressed, then immediately add the new items to cart? Since it's a Flash button, I can easily run several Javascript functions on a single click. I have some experience with cookies, so if you could provide the cookie name I may be able to work out a Javascript function that will clear it (or better yet, if your developer could provide the code to clear the cookie.)

Thanks again!

Luke]]>
E-junkie Discussions; Outshine
Post #3 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Thu, 12 Feb 2009 20:41:19 GMT
We track each buyer's cart contents by setting a cookie in their browser that expires in 24 hours, so anything added to a cart should persist in that buyer's cart for that long. I don't know of any way to force a new cookie to be set every time an Add to Cart is pressed (effectively abandoning the cart's previous contents), since that defeats the usual purpose of a cart, where every item added to it gets retained until checkout or 24 hours have transpired. In fact, we usually regard a cart that doesn't retain its contents as a glitch to avoid and prevent! I will assign this to our Lead Developer's attention to see if he can think of anything that could accomplish what you describe.

You can at least remove the Continue Shopping button by adding the following lines to your View Cart button code, just before the "// -->" line in the standard code we provide:

function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#btnContShop").remove();
}]]>
E-junkie Discussions; E-junkieGuru
Post #2 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Wed, 11 Feb 2009 21:22:29 GMT E-junkie Discussions; Outshine Post #1 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 http://www.e-junkie.com/bb/topic/3168/pg/0#post9212 Tue, 10 Feb 2009 23:07:40 GMT
Two quick questions:

1) Is there a way to empty the cart before adding any new items? We have a 7-step configuration process that adds multiple items from a single "Add to Cart" button, but if they close the cart and re-configure it's keeping all of the old configuration products, as well.

2) I'm trying to set the quantity of an item when it is added to the cart. I searched the forums and found an answer from Tyson that said to put &quantity=5 at the end of the string. It's adding the product, but it's setting the quantity to 1. This is my URL:

https://www.e-junkie.com/ecom/gb.php?c=cart&i=206882&cl=48651&ejc=2&quantity=5

Also odd is that I have that item set to allow the user to change quantity, but when it adds to the cart the quantity can't be updated.

Thanks for any info!]]>
E-junkie Discussions; Outshine