Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Adding X-Cart's 'Add to cart'/'Checkout' buttons to your existing external site HELP

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-02-2015, 02:39 AM
 
Ruby Ruby is offline
    
Join Date: Sep 2015
Posts: 1
 

Default Adding X-Cart's 'Add to cart'/'Checkout' buttons to your existing external site HELP

Hi, I'm new here, and I've just downloaded/uploaded the latest free version, because I thought this product allowed you to
Adding X-Cart's 'Add to cart' and 'Checkout' buttons to your existing (external) product catalog

https://help.x-cart.com/index.php?title=X-Cart:Adding_X-Cart%27s_%27Add_to_cart%27_and_%27Checkout%27_butt ons_to_your_existing_%28external%29_product_catalo g




Upon further investigation, it might be for a version 4???
This is what I needed this program for, adding 'Add to cart' and 'checkout' buttons on my already existing website.
Is this possible with this latest version? I've spent so much time already researching this, downloading, reading infos on setting everything up in my host etc.
Please someone give me some good news here, as I cannot seem to find ANY info about it now that I am in the admin, nor can I find any links, nor did the info at the link above, allow me to follow along in my admin.

Thanks in advance, *fingers crossed* that I am able to do this.
__________________
5.2.6
Just started, limited modules.
Reply With Quote
  #2  
Old 09-02-2015, 03:35 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Adding X-Cart's 'Add to cart'/'Checkout' buttons to your existing external site HELP

Hello,

Yes, this article is for X-Cart 4.

For placing "Add to cart" buttons on an external site for X-Cart 5 please refer to this article: http://kb.x-cart.com/display/XDD/Adding+products+to+cart+via+URL

As for the checkout button - it is nothing more than just a link to the http://<your-domain>/<x-cart-5-directory>/cart.php?target=checkout page.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-08-2016, 03:15 PM
 
handmadegiftframes handmadegiftframes is offline
    
Join Date: Jan 2016
Posts: 1
 

Default Re: Adding X-Cart's 'Add to cart'/'Checkout' buttons to your existing external site HELP

I have tried this solution and it works well and you are directed to the home page.

Is it possible to do this and then have an autoredirect to the actual product information.

any help would be much appreciated

thanks




Quote:
Originally Posted by qualiteam
Hello,

Yes, this article is for X-Cart 4.

For placing "Add to cart" buttons on an external site for X-Cart 5 please refer to this article: http://kb.x-cart.com/display/XDD/Adding+products+to+cart+via+URL

As for the checkout button - it is nothing more than just a link to the http://<your-domain>/<x-cart-5-directory>/cart.php?target=checkout page.
__________________
5.2.10
ebay, paypal,
Reply With Quote
  #4  
Old 02-08-2016, 10:43 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Adding X-Cart's 'Add to cart'/'Checkout' buttons to your existing external site HELP

Quote:
Originally Posted by handmadegiftframes
Is it possible to do this and then have an autoredirect to the actual product information.

This behavior will require creating a custom module. You should decorate the Cart controller class and add a new action method that mimics the "add" method and performs the redirect in the end.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:56 PM.

   

 
X-Cart forums © 2001-2020