NOTE: Make all tests in advanced theme
Prepare
- open themes/advanced/in-commerce/elements/products.elm.tpl file for editing
- in the product_element block above the line with AddToCartLink tag usage add <inp2:m_Set {$PrefixSpecial}_id="1"/> code
- save changes
Testing
- Go to Admin Console, Website & Content → Structure & Data → Products.
- Switch to the Products tab.
- Create a couple of the products, when there are none (goal is to have 2 products at least)
- Go to Front-End, Products.
- Click on the Buy now link on 1st of the products in the main list (right part of the page)
- Confirm that you redirected to the shopping cart with your chosen product added
- Click on the Buy now link on 2nd of the products in the main list (right part of the page)
- Confirm that you redirected to the shopping cart with your chosen product added