VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: MAD King on June 10, 2013, 18:29:17 PM

Title: [SOLVED] default_customfields.php - No Override
Post by: MAD King on June 10, 2013, 18:29:17 PM
Hello,

I am trying to make some changes to the default_customfields.php but it does not show up in the front end.
Is there a chance that the custom fileds which are showen on the product page are in another template too?

Thank you
Title: Re: default_customfields.php - No Override
Post by: sagaranvekar on June 11, 2013, 08:32:22 AM
More details? Like what kind of change you are trying to do?
Title: Re: default_customfields.php - No Override
Post by: MAD King on June 11, 2013, 14:25:13 PM
I am trying to add a line brake in between the field display and field desc.
I doesn't work. Even if I add some text manually wont show up.
Title: Re: default_customfields.php - No Override
Post by: PRO on June 11, 2013, 15:54:54 PM
post yourl url

it sounds like you have a commercial template that has an override

Title: Re: default_customfields.php - No Override
Post by: MAD King on June 11, 2013, 16:31:52 PM
Site is local on XAMPP.
What do you think can it be?
Title: Re: default_customfields.php - No Override
Post by: PRO on June 11, 2013, 22:57:51 PM
look in your template folder

see if there is 

html/com_virtuemart/productdetails/default_customfields.php

&&

Make sure you not using an old version of vmart.

a long time ago, custom fields were in the regular productdetails/default.php

Title: Re: default_customfields.php - No Override
Post by: MAD King on June 11, 2013, 23:52:06 PM
Quote from: PRO on June 11, 2013, 22:57:51 PM
look in your template folder

see if there is 

html/com_virtuemart/productdetails/default_customfields.php
YEP


Quote from: PRO on June 11, 2013, 22:57:51 PM
&&

Make sure you not using an old version of vmart.

a long time ago, custom fields were in the regular productdetails/default.php


YEP. Joomla 2.5.11 and VM 2.0.20b
Title: Re: default_customfields.php - No Override
Post by: PRO on June 12, 2013, 01:36:56 AM
Quote from: PRO on June 11, 2013, 22:57:51 PM
look in your template folder

see if there is 

html/com_virtuemart/productdetails/default_customfields.php




&& you are editing this one?


&& "cart variant" custom fields are in the addtocart template

The default_customfields.php is for regular custom fields

Title: Re: default_customfields.php - No Override
Post by: MAD King on June 12, 2013, 01:47:45 AM
Quote from: PRO on June 12, 2013, 01:36:56 AM
Quote from: PRO on June 11, 2013, 22:57:51 PM
look in your template folder

see if there is 

html/com_virtuemart/productdetails/default_customfields.php




&& you are editing this one?


&& "cart variant" custom fields are in the addtocart template

The default_customfields.php is for regular custom fields



That was exactly what I was looking for. Why is that in the addtocart template and not in the default_customfields.php ? Makes no sense but thank you.
Title: Re: default_customfields.php - No Override
Post by: PRO on June 12, 2013, 02:02:40 AM
Quote from: MAD King on June 12, 2013, 01:47:45 AM
Quote from: PRO on June 12, 2013, 01:36:56 AM
Quote from: PRO on June 11, 2013, 22:57:51 PM
look in your template folder

see if there is 

html/com_virtuemart/productdetails/default_customfields.php




&& you are editing this one?


&& "cart variant" custom fields are in the addtocart template

The default_customfields.php is for regular custom fields



That was exactly what I was looking for. Why is that in the addtocart template and not in the default_customfields.php ? Makes no sense but thank you.

because it HAS to be INSIDE the add to cart FORM  to be actually added to the cart
Title: Re: default_customfields.php - No Override
Post by: MAD King on June 12, 2013, 02:13:28 AM
Ok Ok. Thank you for pointing that out.  ;D
Title: Re: default_customfields.php - No Override
Post by: Milbo on June 12, 2013, 12:56:43 PM
yepp and I think I enhanced that in the vm2.1 experimental trunk