News:

Looking for documentation? Take a look on our wiki

Main Menu

sublayouts/products.php - Is there a better way?

Started by z-analysts, September 10, 2015, 21:30:50 PM

Previous topic - Next topic

z-analysts

Hi,

I want to have a product summary display that has the product image thumbnail on the left and product name, price and add to cart bar on the right. To achieve what I have so far I created an override for sublayouts/products that put the image thumbnail in a div width = 30% and the product info in a div width = 70%, float = right and margin-top = -100px. While it works I am looking for recommendations for a better way.

Please take a look at http://gamersedge.co.za/index.php/spirits and respond with your recommendations.

Thank you!

VM 3.0.8

GJC Web Design

float both left and loose the weird -100 margin

but your really handicapping yourself with an articrap template

also why only 900px wide?
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