News:

Looking for documentation? Take a look on our wiki

Main Menu

Page styles that are not overwritten with Virtuemart updates

Started by JimmyGuiu, May 04, 2019, 22:15:17 PM

Previous topic - Next topic

JimmyGuiu

Hi there,

I want to created a new cart view layout, but I'm afraid that when I will update Virtuemart it will overwrite.
How can I load the new layout without overwriting it when Virtuemart is updated?

GJC Web Design

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

JimmyGuiu

Thaks GJC, the overwrite runs perfect.

New step, the idea is create a new cart style that you can choose on the backend Virtuemart setting. What's need to be done to make this style one choice of the virtuemart backend and doesn't overwrite the original default?

GJC Web Design

exactly the same answer - over rides

but a bit of redesigning the wheel here .. there are commercial VM checkouts available to cover most styles and workflows
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

jenkinhill

If you have multiple overrides - eg cat1.php, cat2.php etc in /templates/YourJoomlaTemplate/html/com_virtuemart/category/  then any of these can be selected on the Virtuemart category view settings tab for each category, so if you wish you can have a different override for as many categories as you like. You can also apply productdetail overrides for each of those categories or for individual products if you wish.

The system is very flexible, but most users start off with a commercial template and possibly modify that as needed. As GJ suggests it gives you a head start.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

JimmyGuiu

Hi there,

Thanks both of you for your answers.
I know about commercial template but I'd like to learn and maybe I can share with all the community the new cart style.