Deceased
- Join Date:
- Jan 2007
- Location:
- Australia
- Posts:
- 6,263
- Plugin Contributions:
- 4
Showing a specific category if the shopping cart is empty.
I have a customer that wants to display a specific category when a customer goes to an empty shopping cart.
I've identified the file "tpl_shopping_cart_default.php" as the logical place to add the code to do this, but I'm having a bit of a hard time figuring out what include/require (or whatever) I need to use to make this function.
The existing code to have it display new products, featured products and specials looks quite simple
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
but I need it to display the same as I'd get when loading
mystore/index.php?main_page=index&cPath=258_260
Does any have any ideas or suggestions? (is this even possible?)
Thanks in advance
RodG