News:

Looking for documentation? Take a look on our wiki

Main Menu

Override Virtuemart 3.x

Started by perdand, February 24, 2015, 21:27:37 PM

Previous topic - Next topic

perdand

How can I override products layout and the estructure in general. I can't find the files to do it. I was searching on components/virtuemart/views/... and there is nothing

Where are the files or how can I do it?

GJC Web Design

??? nothing?

components/virtuemart/views/productdetails/tmpl/default.php  etc
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

perdand

Yes, there are some files, but I mean that in those files I can't find the code necessary to override, for example, the templating of the products in category view.

e.g.

I go to:
components/com_virtuemart/views/category/tmpl/categories.php
or
components/com_virtuemart/views/category/tmpl/default.php

to search this: vm-product-descr-container-1 and make some changes, and I can't find it.


jenkinhill

vm-product-descr-container? that will be found in a sublayout.  components/com_virtuemart/sublayouts/
http://docs.virtuemart.net/tutorials/templating-layouts.html

You can use grep on a server to locate text/code strings.
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

perdand

Thank you. That's the answer that I was waiting for