Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Using custom non-HTML checkout buttons



Pord
member
Posts: 11


Hi

I want to insert my 'Add to shopping cart' URL in a graphic that is not web-based, and therefore does not have its own URL. FYI it's a graphic in a DNL ebook, but it could equally be a graphic in a Word or DTP document. I've found the relevant cart html code in the Admin section, but don't know how to adapt it for this particular scenario. Can you help please?

Thanks in advance

George


#
POSTED ON: May 17, 2010 @ 07:08 GMT -7




Pord
member
Posts: 11


After pottering around with the HTML code, I have managed to get a link from a graphic within the ebook to the shopping cart using the following:

www.e-junkie.com/ecom/gb.php?c=cart&i=720846&cl=118384&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"

However, the shopping cart webpage has a pop-up talking about cross-site scripting, so I'm still not there.

Can anyone help?


#
POSTED ON: May 17, 2010 @ 10:07 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4948


Only this part is the actual button URL that you can use independently from the full button code:

https://www.e-junkie.com/ecom/gb.php?c=cart&i=720846&cl=118384&ejc=2


#
POSTED ON: May 17, 2010 @ 16:28 GMT -7




Pord
member
Posts: 11


That's done it! Thanks.


#
POSTED ON: May 18, 2010 @ 03:41 GMT -7




SiteDesigner
member
Posts: 1


E-junkieGuruOnly this part is the actual button URL that you can use independently from the full button code:

https://www.e-junkie.com/ecom/gb.php?c=cart&i=720846&cl=118384&ejc=2




PordThat's done it! Thanks.


I have also found that this works for what I was hoping to achieve however I have now noticed that the pop up window of the cart no longer works. I have also done this for my view cart buttons - is there some code missing from the cut down version that instigates this?


#
POSTED ON: May 26, 2010 @ 08:50 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4948


Our standard cart that appears as an overlay "inside" your own page will only work that way if you use the complete, ready-made HTML code we provide for your cart buttons in your E-junkie Seller Admin, and you must have at least one complete block of your View Cart code on every page that has any number of Add to Carts.

If you are stripping down the button code to just the bare href= URL alone, perhaps to use that in a plaintext email or in a link-maker widget on a site where you are not allowed to paste HTML, then that would lack the code necessary to make the overlay-style cart work, so in this case the cart button/link would work like a normal link, displaying the cart as a regular page by itself.

If you at least want these basic cart button/links to open a new window/tab, your link-maker widget may have some way to specify a "target" name. Just give the same target name to all your cart-button links to have them open a new window/tab for the cart and keep reusing that separate window/tab for subsequent cart views.


#
POSTED ON: May 26, 2010 @ 14:08 GMT -7


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

30 Day Money Back Guarantee PayPal Certified Integration 2Checkout Shopping Cart Sell with ClickBank Authorize.Net shipping cart
Slam the Online Scam