Author Topic: Messed up product-page  (Read 170 times)

erwin_m

  • Jr. Member
  • **
  • Posts: 86
Messed up product-page
« on: December 05, 2018, 22:05:48 pm »
Hi,

I have updated my site with some major updates, it really was time. Changed a lot of template-files and other stuf. It looks good now. Had still a problem with using custom fields. My productdetails template wasn't suitable for the new versions. So I've grabbed the default.php and changed it to y own design. Works fine, so far. Did this on my test-site with vm 3.2.15. Changed it on the live-site and it stopped working. I do see that I'm using 3.4.2 on that site.Selecting the default.php again doesn't give me the custom fields back.

Does anyone have a template-file which does support custom fields? I'm only using this for choosing a color of an item. Or can anyone tell me what else to do? I believe it isn't possible to downgrade, correct?

Hope someone can help me with this problem.

Regards,

Erwin

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Messed up product-page
« Reply #1 on: December 06, 2018, 10:23:07 am »
customfields are rendered by

sublayouts/customfields.php

chk over rides etc for that and that the sublayout is called in the details
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

erwin_m

  • Jr. Member
  • **
  • Posts: 86
Re: Messed up product-page
« Reply #2 on: December 06, 2018, 18:33:22 pm »
For testing purpose I changed the name of the productdetails-folder in the template-files. Then it works fine, but my layout is obviously changed. Can anyone tell me which template the default is for productdetails? Then I can use that file as source for my own customization.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Messed up product-page
« Reply #3 on: December 06, 2018, 21:57:28 pm »
it is ALL files in the components\com_virtuemart\views\productdetails\tmpl\

plus the appropriate sublayouts
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

erwin_m

  • Jr. Member
  • **
  • Posts: 86
Re: Messed up product-page
« Reply #4 on: December 06, 2018, 23:35:45 pm »
Thank you, I've found it and edited it so the desired layout is working.

I do see another problem nog, the fancybox doesn't also seem to work properly in this version. It's to small and not the total image is visible, also the thumbs beneath aren't visible. Do you perhaps have more suggestions?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Messed up product-page
« Reply #5 on: December 07, 2018, 08:08:49 am »
at a guess you have other css interfering with the display
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

erwin_m

  • Jr. Member
  • **
  • Posts: 86
Re: Messed up product-page
« Reply #6 on: December 07, 2018, 23:20:14 pm »
Right again! Commented some css-code and now it works fine.

Thank you!