News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] default_customfields.php - No Override

Started by MAD King, June 10, 2013, 18:29:17 PM

Previous topic - Next topic

MAD King

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
Joomla! 4.4.5
VirtueMart 4.2.12 11012

sagaranvekar

More details? Like what kind of change you are trying to do?

MAD King

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.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

PRO

post yourl url

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


MAD King

Site is local on XAMPP.
What do you think can it be?
Joomla! 4.4.5
VirtueMart 4.2.12 11012

PRO

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


MAD King

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
Joomla! 4.4.5
VirtueMart 4.2.12 11012

PRO

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


MAD King

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.
Joomla! 4.4.5
VirtueMart 4.2.12 11012

PRO

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

MAD King

Ok Ok. Thank you for pointing that out.  ;D
Joomla! 4.4.5
VirtueMart 4.2.12 11012

Milbo

yepp and I think I enhanced that in the vm2.1 experimental trunk
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/