Help Topics

General Help Topics
Site Setup FAQ's Email - Set Up Domains Special Features FrameEZ Troubleshooting
Shopping Cart
Store Configuration Global Configuration Product Management Categories Manufacturers/Brands STN Import Tool Shipping Payment Processors Orders and Sales Shopper Groups Coupons & Discounts Taxes Safety Warnings POS-to-Web Sync
Import/Export Data Components
Contact Us Store Locator Front Page SlideShow Newsletters - Letterman Events Calendar QuickBooks Sync Media Manager SEO Manager Picture Gallery User Manager Banner Manager Language Editor
Wish List Mobile Lightspeed POS Shopify App
Content Management
Link Directly to Cart E-mail
Shopping Cart - Product Management
Friday, 04 October 2013 11:08

Add Products to your Checkout Cart from a Special Link

Here's how to add a product to the your cart using a URL.

In other words, you can create a special product page, or send out an email with a link that will add an item right to the cart wihout having to go to the product details page.


URL structure:

http://<<YOUR DOMAIN.com>>/index.php?option=com_virtuemart&page=shop.cart&func=cartAdd&product_id=<<ITEM ID>>&quantity=<<ITEM QTY>>

 

example 1: Adding one Item to the cart 

Buy the Bump And Go Alien

http://demo.stoysnet.com/index.php?option=com_virtuemart&page=shop.cart&func=cartAdd&product_id=607&quantity=1

 

example 2: Adding several Items to the cart (as of 1/1/2014, this example 2 method is currently no longer supported. Please check back for updated methods of adding multiple items)

Buy this art starter kit!

http://demo.stoysnet.com/cart?basket[]=1&sku[]=intpg02025http://demo.stoysnet.com/cart?basket[]=1&sku[]=alex1&basket[]=1&sku[]=tgtg_ho11_tg04201&basket[]=1&sku[]=tgtg_sp13_153012

 

 

A few notes:

  • <<ITEM QTY>> is the quantity of the items you want to add to the cart

  • <<ITEM ID>> is the product's Item id (not the SKU). Use the In-Line editor's column settings to display the item ID

  • item-id


Last Updated on Tuesday, 04 February 2014 16:56