34
198
© Ecommerce Templates
Save cart.php
Now you need to define the features you want to appear on the cart page so
open includes.php and add this to the list
$crosssellaction='recommended,related,alsobought,bestsellers';
This will show the four features in the order shown there. If for example you
only wanted to show bestsellers and related products in that order then you
would change the line to
$crosssellaction='bestsellers,related';
Save the file includes.php and then you can start configuring the four features.
Configuring recommended products
This will add a row of recommended products that you have chosen from your
inventory to display on the cart page once any item has been added to cart.
The number of recommended products you choose to show is completely up
to as each one you check in the products admin page will appear here.
To configure a recommended product, in your Ecommerce Template control
panel click on products admin and then click "Modify" for the product you want
to show as recommended. At the bottom of the page there is a checkbox like
this:
Check the box if you want it to appear as a recommended product when any
other product is added to the cart.
Configuring related products
Related products are ones that you configure through the product admin
page. They will typically be products that customers who have added a similar
/ complimentary item to cart would be interested in. That may be something
like batteries for an electronic device, a superior model to the one already in
the cart or simply an extra item that you think would be of interest to
somebody who is planning on purchasing. Each related product will be
displayed in rows below the cart.
In your Ecommerce Template control panel click on products admin and then
for the product you want to create relations for click on the "related" button. If
this is the first time you are setting up a relation then you will see a message
there are no related product so then click on "List Products" and you should