VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: stawebnice on March 02, 2015, 14:55:36 PM

Title: HELP! Custom fields layout overwritten after update to VM 3.0.6
Post by: stawebnice on March 02, 2015, 14:55:36 PM
Hi,

please help! I had custom fix for image custom field that looked like this:
http://www.test1.vintagelab15.com/webshop/eetkamerstoelen/design-eames-dar-stoel-wit  (backup before the upgrade to VM3.0.6)

After upgrade it disappeared:
http://www.responsive.vintagelab15.com/webshop/eetkamerstoelen/design-eames-dar-stoel-wit

I would need to know what file is responsible for the custom fields, because I tried to rewrite the
components/com_virtuemart/sublayouts/customfields.php

and components/com_virtuemart/views/productdetails/tmpl/default_customfields.php
and components/com_virtuemart/views/productdetails/tmpl/default.php

with the template files from the previous version,but it did not help :(

Any idea?

Title: Re: HELP! Custom fields layout overwritten after update to VM 3.0.6
Post by: GJC Web Design on March 02, 2015, 22:52:43 PM
it is rendering inside components\com_virtuemart\sublayouts\addtocart.php but probably a call to components\com_virtuemart\sublayouts\customfields.php
Title: Re: HELP! Custom fields layout overwritten after update to VM 3.0.6
Post by: Milbo on March 03, 2015, 19:54:43 PM
Did you use an override for that already before?
Title: Re: HELP! Custom fields layout overwritten after update to VM 3.0.6
Post by: stawebnice on March 03, 2015, 21:23:00 PM
I think we only updated css files. So question is, if there is some change in the files that would affect that...

strange is, that it does not change when I try to replace these files from version before update>

test1/components/com_virtuemart/sublayouts/customfields.php
test1/components/com_virtuemart/sublayouts/addtocart.php

all template files from:
test1/templates/transform/html
test1/components/com_virtuemart/views/productdetails/tmpl

still no change... isn't it somewhere under administrator?


file with the old one from
http://www.test1.vintagelab15.com/webshop/eetkamerstoelen/design-eames-rar-schommelstoel-wit

The default layout with  custom image field where images are one below each other looks bad. Is there a way to implement the dropdown into some default virtuemart template? Or does it have to be in the template?
Title: Re: HELP! Custom fields layout overwritten after update to VM 3.0.6
Post by: Milbo on March 04, 2015, 00:29:34 AM
I think I need the details of your custom and customfield. Maybe you just need to store your custom again.