If you use one-step checkout page, you can skip this artice. Plugin will embed automatically.
For multi-step checkout you need to embed some code to your theme template. All design themes are different, the places for embedding may differ. Customizing design themes is not included in the plugin price.
Promotions for products
Open page:
Shop - Storefront - Templates - cart.html
Find code:
{foreach $cart.items as $item}
After that, insert the following code in the desired location:
{shopPromosPluginHelper::getPromoCodeCartAll($item)}
{shopPromosPluginHelper::getNPMCartAll($item)}
{shopPromosPluginHelper::getGiftCartAll($item)}
Pay attention, $item
is used everywhere , because the $item
variable was used in construction {foreach $cart.items as $item}
.
Promotions for order
You can attach gifts to the order. Use promo Choice of gift
and enable option Attach gift to order
.
To output blocks of that promotion, you should use construction
{shopPromosPluginHelper::getGiftOrderCartAll()}
in any place of the template cart.html
. It is recommended to embed the code under the items.