News:

Support the VirtueMart project and become a member

Main Menu

Product views

Started by hendrikdebeer, September 20, 2018, 17:03:42 PM

Previous topic - Next topic

hendrikdebeer

Good day

Does anybody know how to override the block view/horizontal views of products?

The page I'm referring to: http://www.pjtest.co.za/index.php/bow-tents

My client has categorized each item in size and would like the product to be viewed in BLOCK FORMAT ONLY - Would this be possible?

jenkinhill

Define what you mean by "Block view"? Maybe with an image - as that page shows what I would call block view.
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

hendrikdebeer

Hi

Sorry about that, it is called grid view.

My client would like it to viewed in the grid format, list option should not be available

jenkinhill

OK, this is not a VirtueMart option, it is part of your template. You could hide it with css or edit it out of the template. If you don't know how you should ask your template supplier, but the switcher does have a class applied making display:none; and obvious option for a css override.
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

As Jenks said -- but u might want to go further and clone the over ride and comment out/remove the grid section as if it is only display:none switched it seems pointless to have it rendered and hidden on the page
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