Author Topic: 2.0.0-RC-2H: Custom Product Details Layout Template not handed down from Config  (Read 3483 times)

meinekatze

  • Beginner
  • *
  • Posts: 20
2.0.0-RC-2H, J1.7.1

Dunno if i fail to see my mistake or if it's a bug.

I cannot hand down the Template > Product Layout i set.
Neither in Shop Configuration, Categories or Subcategories.
The default.php will always be used until i set it on the product page itself.

thanks & cheers

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10358
  • VirtueMart Version: 3+
When a product is created WHILE the main config is set to default. It automatically saves it as "default.php"

So, you might can do a template override for default.php
http://forum.virtuemart.net/index.php?topic=89334.msg292712#msg292712

OR, do an sql update to change all of the products to your new default.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9912
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Yes that is a small bug, I need to prevent the storing and when there is no layout set to take the default. I used this technique already for the shoppergroups.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

meinekatze

  • Beginner
  • *
  • Posts: 20
OR, do an sql update to change all of the products to your new default.

Overrides makes it a bit hard (for me) to keep the oversight.
Could you point me to how to update the sql in this case?

thanks