Author Topic: How to add product details?  (Read 2896 times)

kode5

  • Beginner
  • *
  • Posts: 7
How to add product details?
« on: October 14, 2011, 18:11:11 pm »
Hi,

How do I add the information from the back-end to the product details?
I would like to add: Product URL, Product SKU and all the Product dimensions and weight?

Please help...

Thanks and cheers!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: How to add product details?
« Reply #1 on: October 14, 2011, 18:54:33 pm »

http://forum.virtuemart.net/index.php?topic=90935.0


<?php echo $this->product->product_sku ?>
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

kode5

  • Beginner
  • *
  • Posts: 7
Re: How to add product details?
« Reply #2 on: October 15, 2011, 09:14:58 am »
I Tried for many hours now, and I just can make is show anything.

Can you please send me some example code I can copy and paste?  ::)

Thanks and regards.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: How to add product details?
« Reply #3 on: October 15, 2011, 14:45:30 pm »
what have you tried?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

kode5

  • Beginner
  • *
  • Posts: 7
Re: How to add product details?
« Reply #4 on: October 15, 2011, 17:44:45 pm »
I copy and pasted this code:

<?php echo $this->product->product_sku ?>

Location:
components/com_virtuemart/views/productdetails/tmpl
And made a copy of the default.php to test.php.

After that I assigned test in VirtueMart > Configuration > Template: Product layout = test.

No change when I view a product.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
Re: How to add product details?
« Reply #5 on: October 16, 2011, 15:23:48 pm »
you have to go into each category and set the default flypage.

BETTER way is to do a template override of default.php

http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)