Wij gebruiken cookies om uw gebruikerservaring te verbeteren.
Add to Cart via URL link (1.5.x/2.x.x)

CLICK TO SEE IT WORKING ON DEMO SITE
Clicking this link will ADD the product to the cart.



Supported OpenCart Versions:
================
1.5.x
2.x.x


What does it do:
================
Adds the ability to add an item to cart by direct link (GET) rather than needing a form post (POST).
Also adds alternative methods of adding by product_id, sku, or model.
Supports options as well (See examples below)


Requirements:
==============
* You will need to have the latest vQmod engine installed (http://vQmod.com)


Main features:
==============
* Simple vQmod script plug and play. No files to edit or overwrite.
* Supports lookup by product_id, sku, or model
* Instantly adds to cart and redirect to cart page
* If product has required options that were not specified, it will redirect to the product page to allow proper choice
* Can be expanded to support ANY unique field (isbn, upc, location, etc)
* Passable Parameters:
- product_id
- model
- sku
- quantity
- option
- redirect (eg: checkout/checkout)

Examples of use:
==================
Single Product:
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=47
Product with qty 2
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=47&quantity=2
Product with option:
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=47&option[8]=22
Product with option and qty 2
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=47&quantity=2&option[8]=22
Product by sku with qty 5
http://www.mysite.com/index.php?route=checkout/cart/addlink&sku=ABC123&quantity=5
Product by model with qty 10
http://www.mysite.com/index.php?route=checkout/cart/addlink&model=MO2452&quantity=10
Product with qty 2 redirect to checkout
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=47&quantity=2&redirect=checkout/checkout

Other great uses:
=================
To allow for creating custom invoices by adding an item to the cart with a custom price and then redirecting them right to checkout:

Combine with my Custom Price Product mod
Then call the url passing the custom price and redirect:
http://www.mysite.com/index.php?route=checkout/cart/addlink&product_id=33&option[227]=123.25&redirect=checkout/checkout

Informatie
Versie2.2.0.0

Geef beoordeling

Note: HTML-code wordt niet vertaald!
    Slecht           Goed

Captcha

Add to Cart via URL link (1.5.x/2.x.x)

  • Model: 11443
  • Beschikbaarheid: Op voorraad
  • €39,99
  • Excl. BTW: €39,99

Betaal Opties

Tags: Add to Cart via URL link (1.5.x/2.x.x), OpenCart Modules