Add to Cart Button Plugin for Joomla 1.5.x
Posted by Steve Naqvi on 24 January 2009 01:22 AM
The IXXO Cart plugin/bot enables you to comfortably add an "Add to Cart" button and a form to any Joomla content page without the need to enter HTML directly. After installing the plugin, you need to enable it to work correctly.

**********************
Plugin parameters
**********************
The default basic parameters are:

Button Label : Add To Cart
Any label you want to be displayed on your add to cart button.

Button Width : 100
The width of the Add to Cart button in pixels (px)

Quantity Field : Visible
Hide or show the quantity field. If the quantity field is hidden, the quantity is always "1".

***************************************************
Adding the necessary code to the content pages
***************************************************
You need to enter the following code, to a Joomla content page for an Add to Cart button :

{ixxoaddbutton,id=item_id}

where item_id would be the product item's id in the database and NOT the "Product ID".

Examples :

{ixxoaddbutton,id=5}

Shows an "Add to Cart" Button for the product with the id 5.

{ixxoaddbutton,id=156}

Shows an "Add to Cart" Button for the product with the id 156.

***************************************************
Obtaining the item IDs for the products
***************************************************
In {ixxoaddbutton,id=item_id} the product's "id" in the database is used. This "id" is NOT identical with the "Product ID" you can set for any product manually. You can obtain the "id" by directly by looking into the database or by looking at the URLs for the products at the storefront

eg.: index.php?option=com_ixxocart&Itemid=2&p=product&id=8&parent=1

The product's "id" would be 8 in this example : "id=8".

eg.: index.php?option=com_ixxocart&Itemid=2&p=product&id=125&parent=1

The product's "id" would be 8 in this example : "id=125".


(355 vote(s))
Helpful
Not helpful

Comments (2)
maximilian
25 January 2009 11:04 PM
Excellent work. Allows me now to add an add to cart button any an joomla article.

Keep on the good work
Bruce K Lee
29 July 2011 02:10 AM
Just to make sure, the plugin automatically pulls the price for the specified pid and adds all necessary sales info to the cart? Is that correct?
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).