News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product Page Templating

Started by dazmilliom, January 13, 2016, 02:41:25 AM

Previous topic - Next topic

dazmilliom


Hi,

My main menu goes like this Home-->Textbooks--->which leads to a product page when a customer clicks a particular book the list of textbooks. I have my default joomla template for the home page. The Textbooks menu item has a Virtuemart category called Textbooks added to it.  Then for the styling of the menu item called Textbooks I selected another joomla template for it on the joomla menu page.

My problem is that I want a different styling for the product page for all products under the virtuamart category Textbooks as I want to remove certain Divs carried over from the Textbooks Joomla template which I dont want on the product page.

I dont know how to add a further template to the product page as I want to style the product page differently from its parent category Textbooks.

I mean I was able to remove certain Divs carried over from the home page to the Textbooks page by using a different template. But now the Textbook template is now carring over some divs into the product page which I dont want. But I dont know how to add a new template for the products page like I did for the Texbook page.

Thanks for any help

dazmilliom

I am using the latest VM3 and the latest Joomla

GJC Web Design

QuoteI am using the latest VM3 and the latest Joomla

how do we know, you know, what are the latest?...... 

make a new Joomla template style (basic joomla knowledge)  and apply this to the VM category
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

dazmilliom

Thanks for the reply. Sorry abt not stating the version(Joomla! 3.4.8 Stable).

My homepage has a different joomla template and VM layouts are outputted through (for example) <div class=midcontent><jdoc:include type="component" /></div>

If I add a Joomla template like you suggested to the VM category that takes care of the page layout for my menu item "Textbooks" which has the VM category "Textbooks"

However, in the VM category "textbooks" i have created over 20 products (textbooks) which i want to have a similar browse page when clicked by a customer. The problem is that the category template (which you suggested) and in which I have created some divs for sidebars is automatically transferred to the product page and I dont want this. I want another template just for the products page so that those unwanted divs are not carried over from the category template.

I know that the process is simple but I cant seem to figure out how to go about it. This is the first time am going deep with virtuemart.


jenkinhill

For extended control over modules & J! templates I suggest you look into the possibility of using MetaMod Pro or Chameleon  - http://www.metamodpro.com

Quote
(Joomla! 3.4.8 Stable)

And the VM version?
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

GJC Web Design

afaik the cat template will always cascade to the products.. thats the whole point

if its just divs hide them with conditional css
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