VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Kuubs on February 28, 2018, 15:39:46 PM

Title: Can I find the custom fields + values in the products.php sublayout override?
Post by: Kuubs on February 28, 2018, 15:39:46 PM
Hello

I have a beautiful webshop in Virtuemart but I cannot seem to solve this particulair issue regarding the display of hte products on the category page.

I have a couple of products which I want to display the custom fields options it can have, or particulair product attribbute like size or color (which is defined in the custom fields)

But in the $product is nothing that holds the values of the custom fields. Do I need to call some sort of method to get these values? And if so where can I find these methods?

Thanks in advance.
Title: Re: Can I find the custom fields + values in the products.php sublayout override?
Post by: Studio 42 on February 28, 2018, 18:12:57 PM
custom fields Only position "addtocart" and "ontop" is displayed in the categories.
And some template remove this or hide it, so check if your main custom field position is another one eg onbot and try using addtocart or ontop.
If ti not work perhaps you have to modify the sublayout, it depend the the template.