Skip to main content

Table Product List View not showing custom Field Value

More
7 years 9 months ago #301607 by grayt7
-- url of the page with the problem -- : www.rwcrawford.co.uk/
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.2

HI

For the table list view a custom field value for some reason doesn't show.

Please see this div based product list view:

www.rwcrawford.co.uk/current-stock/product/listing

Please navigate to the product "Knight Trailed Sprayer " and notice the custom field value "Warrant" is "No"

Please see this view of the same category:

www.rwcrawford.co.uk/list-view/product/listing

Please navigate to the same product and notice Warranty is blank?

I have attached menu settings and custom field settings.

Thanks.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #301610 by nicolas
Hi,

The table layout do support custom product fields being displayed.
So I'm thinking it might be because of a view override based on an old version of HikaShop that you don't see it.
Check if you have the file templates/YOUR_TEMPLATE/html/com_hikashop/product/listing_table.php
If you do, rename it, and it should display fine.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #301633 by grayt7
Hi,

That file does not have an override and turning the overrides off doesn't fix the issue.

I have tried downloading the latest and re-installing.

Any other suggestions please?

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #301634 by Jerome
Hello,

Your custom field has two values :
1 - Yes
2 - No

As the graphic show, you do not have any product with the "2 - No", but you have some with the value "0" which is not an existing value for your field.
That's why, you have that "0" display in the product listing (first link) : pasteboard.co/HRGV0jU.png
And that's also why you have a blank display in the table listing ; since the table listing do not display the raw value like the div listing.
But if you configure your custom field and products with existing values ; the display will be fine.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum