News:

Looking for documentation? Take a look on our wiki

Main Menu

back to shop button

Started by gcap, September 23, 2018, 08:39:54 AM

Previous topic - Next topic

gcap

Hi Again

I need a way for folks to get back to the shop home page once they are in a category. I know this is simple for you experts but I am really struggling to see how i would do it.

Basically I would need a button at the bottom of the page showing the products so customers can navigate back to the categories listed on the shop main page with them having to use the main menu at the top of the page

GJC Web Design

something like

<div id="back_home_but">
<a href="<?php echo JRoute::_('index.php?option=com_virtuemart'); ?>" class="button btn btn-default"><?php echo vmText::_('COM_VIRTUEMART_SHOP_HOME'); ?></a>
</div>

in your category default.php over ride
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation