O'Reilly logo

Magento 1.4 Development Cookbook by Nurul Ferdous

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a product to the cart through Querystring

We often need to integrate Magento store with some external applications: therefore, we might need to add one or multiple products through the Querystring with Magento product ID or SKU. In this recipe, we will add different types of products with a Querystring. We will also add the product by the SKU externally.

Getting ready

Fire up your browser and open the Magento store's frontend and admin panel.

How to do it...

Adding a product by the Magento product ID:

  1. Log in to your Magento store admin panel.
  2. Navigate to Catalog | Manage products page.
  3. In this page, you will see a listing of all the products. Locate the product that you want to add through Querystring and copy the product ID from the second ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required