Hello everyone i have a problem with this ... I need show the price and button addtocart to my related products but i can't :(
My version of VM 3.2.12 Joomla 3.8.5
My file is customfields_related.php located in my folder of Sublayouts on Virtuemart.
Please help me :'(
Go to custom fields (Related Products) and tick the things You want to be displayed.
regards
Jörgen @ Kreativ Fotografi
Hello Jörgen Thanks for u reply
I see that option many time... But cannot show the price and addtocart on my related products :(
It works for me with protostar. Check Your template override.
regards
Jörgen @ Kreativ Fotografi
Many related product use override in template, because it not render well, in general, with bootstrap, so you have to check if the template have an option or you need to modify the PHP file.
Thanks for u reply Studio 42.
Yeah i'll changed my PHP file but i can't see the correct price of my products and the button addtocart...
I don't know how continued this, Need help for this case cuz it is a seriously problem for my site :-\
What php file did you change?
You should change your template file.
Or have you perhaps changed the core file ?
Have You tried to with protostar ?
Check how Joomla overrides work, start to try and understand this:
https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager (https://docs.joomla.org/J3.x:How_to_use_the_Template_Manager)
regards
Jörgen @ Kreativ Fotografi
Original file is JOOMLAROOT/components/com_virtuemart/sublayouts/related.php
But if JOOMLAROOT/components/com_virtuemart/sublayouts/customfield.php has override, then this can be the cause too.
You can copy to overrride this 2 files in folder JOOMLAROOT/templates/YOURTEMPLATE/html/com_virtuemart/sublayouts/ so you dont loose the changes on Virtuemart update