News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Can I find the custom fields + values in the products.php sublayout override?

Started by Kuubs, February 28, 2018, 15:39:46 PM

Previous topic - Next topic

Kuubs

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.

Studio 42

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.