Author Topic: Is there an option to display product dimensions in product detail page?  (Read 868 times)

z-analysts

  • Jr. Member
  • **
  • Posts: 162
VM 3.0.4
Joomla 3.3.6

Thank you!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10448
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Is there an option to display product dimensions in product detail page?
« Reply #1 on: February 05, 2015, 18:57:21 pm »
yes - in your template - all info is in the product object on that page - you just need to echo them out
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

z-analysts

  • Jr. Member
  • **
  • Posts: 162
Re: Is there an option to display product dimensions in product detail page?
« Reply #2 on: February 05, 2015, 19:05:29 pm »
Where do I find the variable names? There is nothing in the product details default.php that even hints at them.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10448
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Is there an option to display product dimensions in product detail page?
« Reply #3 on: February 05, 2015, 22:03:53 pm »
look in the #_virtuemart_products table

product_length, product_width etc

will be $this->product->product_length, this->product->product_width

see a pattern developing?...    ;)
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation