by ShopSite Lauren » Mon Apr 11, 2011 3:14 pm
It looks like you are using a custom shopping cart template. Because it is a custom template, I can't know just looking at the code, what ShopSite functions are available. With custom templates, it is up to the designer of the template how many of the built in ShopSite functions are used. So I will give two responses to all the functionality questions, one for if the custom template is using the ShopSite functionality, and one for if the custom template is not using the ShopSite functionality.
-- Adding the Product Image to Cart Table
1. With the ShopSite field, you can go to Commerce Setup > Order System > Layout Info, and check the checkbox to display the product graphic on your shopping cart page. Note, I would not check the checkbox to display the graphic on the checkout screen, because the focus once you get to the checkout screen are the payment fields. You do not want to take up too much space with the product images on the checkout pages.
2. In your template, you can change the [-- SC_Cart --] tag with [-- SC_Cart image name delete quantity price total --]. You will want to still check the checkbox to display the images (#1 above), and you will want to replace the [-- SC_Cart --] tag 4 - 5 times in the shopping cart template (there are 5 sections that have this information).
-- Adding "International Orders" text.
1 and 2. You can go to Preferences > Store Text > Shopping Cart, and add your own text to the "Any changes above should be verified by pressing 'Recalculate' before clicking on 'Checkout'." text field. You could have something similar to:
Any changes above should be verified by pressing 'Recalculate' before clicking on 'Checkout'.
<br><b>International Orders</b> - Please contact us for shipping details.
-- Move shipping area
1. can't move this in the ShopSite backoffice
2. In your custom template, within the DEFINE Shopping_Cart section, you will want to change the following:
<tr>
<td align="right">
<table border="0" cellpadding="0" cellspacing="0" style="line-height:150%">
<tr>
<td align="left" valign="top">
<!-- Table for the shipping and tax selections etc. -->
<br>[-- SC_Tax_Shipping --]
[-- SC_Surcharge --]
[-- IF SC_VAT_ID --][-- SC_VAT_ID --][-- END_IF --]
</td>
<td width="20px"> </td>
<td valign="top">
<!-- Table for totals, etc. -->
[-- SC_Totals --]
</td>
</tr>
</table>
</td>
</tr>
change it to:
<tr>
<td align="right">
[-- SC_Totals --]
<br>
[-- SC_Tax_Shipping --]
[-- SC_Surcharge --]
[-- IF SC_VAT_ID --][-- SC_VAT_ID --][-- END_IF --]
</td>
</tr>
-- Adding CSS for controlling the shading in the cart
1. add the CSS below into the "text at the top of the shopping cart screen" by going to Commerce Setup > Order System > Shopping Cart.
2. Add the CSS below into your own CSS file that is used on all pages including the cart pages (you can access this file through FTP) at: http://64.130.23.58/shopping/publish/style.css
<style type="text/css">
table.cart {
width: 100%;
border-collapse: collapse;
border-spacing: 0px;
border-bottom: 1px solid #D2691E;
}
th {
background-color: #D2691E;
color: #FFFFFF;
font-size: 90%;
}
td.cart_delete, td.cart_cp_delete, td.cart_quantity, td.cart_cp_quantity, td.cart_name, td.cart_cp_name, td.cart_image, td.cart_cp_image, td.cart_sku, td.cart_cp_sku, td.cart_price, td.cart_cp_price, td.cart_total, td.cart_cp_total {
border-top: 1px solid #D2691E;
}
table.totals {
border-collapse: collapse;
border-spacing: 0px;
}
td.totals_all, td.totals_all_txt {
background-color: #D2691E;
color: #FFFFFF;
font-size: 110%;
padding-top: 2px;
padding-bottom: 2px;
}
</style>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.