E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Mon, 5 Mar 2012 17:39:16 GMT Thu, 20 Jun 2013 11:26:43 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 #8 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Mon, 5 Mar 2012 17:39:16 GMT E-junkie Discussions; jp Post #7 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Mon, 5 Mar 2012 03:05:27 GMT E-junkie Discussions; E-junkieGuru Post #6 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Fri, 2 Mar 2012 22:45:03 GMT
3rd paragraph should read '... From then on it will display the 'go back' button with the javascript history.back() property.]]>
E-junkie Discussions; jp
Post #5 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Fri, 2 Mar 2012 22:42:49 GMT
The cart javascript function 'showContinueShopping()' determines whether to show a 'go back' button (history.back()), or a 'continue shopping' button (closeWindow()).

When I display the cart in my own choice of lightbox, the first time it will display the 'continue shopping' button with the javascript closeWindow() property. From then on it will display the 'go back' button with the javascript closeWindow() property.

I was hoping you could add the option for your customers to force the cart to use the 'continue shopping' button or force the cart to not display either of the 'go back' or 'continue shopping' buttons. This could be done using the above 'cart_close=false' url parameter. If it's in the 'add to cart' button url, the cart detects the parameter is present (and set to false) and doesn't display either the 'go back' or 'continue shopping' buttons; so cart users will use the close button on the lightbox to continue. If the parameter is not there, the cart behaves as it does now and nobody has to modify or change their existing code; you've just provided a useful (to me anyway) feature.

I do now realise that forcing the 'continue shopping' will not work as I wish, but the option to not display either of the 'go back' or 'continue shopping' buttons would be a useful feature for customers who want to use their own lightbox with the e-junkie cart.

I know you provide ways to customise the cart with jQuery, which sort of acknowledges that your customers do understand some code and do want to modify the cart appearance. If you're still reading this far, I have now finished labouring my point.

p.s. an official mini-cart would be great too.]]>
E-junkie Discussions; jp
Post #4 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Thu, 1 Mar 2012 22:46:12 GMT E-junkie Discussions; E-junkieGuru Post #3 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Thu, 1 Mar 2012 18:28:19 GMT https://www.e-junkie.com/ecom/gb.php?c=cart&i=XXXX&cl=XXXX&ejc=2&cart_close=true

where:
true = 'continue shopping' button;
false = no 'continue shopping' button;
if cart_close is not present = behaviour the same as it is now;

This would give a bit of extra flexibility in the use of the cart, and would not affect any current users.]]>
E-junkie Discussions; jp
Post #2 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Wed, 29 Feb 2012 22:28:08 GMT
The "Go Back" behavior is intended to cover cases where the seller is unable to use our standard javascript-enhanced cart button codes (which would display the cart as a lightbox inside the seller's page) nor even retain the target= attribute of our non-JS button codes (which would open the cart in a popup window/tab), so in that case the button works like an ordinary link, taking the buyer away from the seller's page to our cart in the same window; since there's no way for our cart to determine what URL the buyer should be returned to, we can only provide a Go Back button that works like the browser's Back button, stepping back in their browser history.

You may want to consider using our box.js cart script for non-cart lightbox-display needs in the rest of your site; this can be done like so:

<a href="javascript:EJEJC_show('/url/goes/here.html', 'i', false);">Link text here</a>]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 http://www.e-junkie.com/bb/topic/5776/pg/0#post20467 Wed, 29 Feb 2012 21:09:18 GMT
I've removed all the e-junkie javascript from my site, so the cart opens in my lightbox. The problem is that the cart displays the 'go back' button rather than the 'continue shopping' button.

Would it be possible to add a Get key/value to the url to force the 'continue shopping' button (or even a remove it option, forcing use of the modal close button). I could then add the Get key/value dynamically (this would then force it if javascript is enabled, but fall back to the default cart option if not).]]>
E-junkie Discussions; jp