1.3.9
I have the shopping cart in a right sidebox on my pages. When on the full shopping cart page, the right sidebar shopping cart still displays. How do I remove it just on that page.
Thx
1.3.9
I have the shopping cart in a right sidebox on my pages. When on the full shopping cart page, the right sidebar shopping cart still displays. How do I remove it just on that page.
Thx
Admin - Configuration - Layout Settings - Shopping Cart Box Status
I noticed there is an includes/modules/sideboxes/shopping_cart.php file
I also noticed there is an includes/modules/sideboxes/classic folder
Does that mean I can override shopping_cart.php in an includes/modules/sideboxes/mytemplate folder?
That is correct. You will want to add logic to set $show_shopping_cart to true or false according to
if ($current_page_base == 'shopping_cart') {
You don't want to use the admin switch ?
The admin switch doesn't account for "show cart if it isn't full" and "don't show cart on the cart page".
gjh42,
If the main page is not referenced directly, is the page name always = to the url param as such:
main_page=product_info
Yes, if you have main_page=product_info in the URL, $current_page_base will be 'product_info'.
Bookmarks