Home › Forums › WoodMart support forum › Attribute image not working on single product page
Attribute image not working on single product page
- This topic has 11 replies, 2 voices, and was last updated 1 year, 2 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 8, 2023 at 2:49 pm #519792
waynep16ParticipantUsing the single product page template, I am using the “Product additional information table Settings” and making sure “hide image” is no ticked but on the single product page the attribute image is not showing.
See full video explantion here https://www.loom.com/share/9f8d764020d44675b475a37fd9fc2086
December 9, 2023 at 10:02 am #519943
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the page url where the issue is situated. Also share the wp logins details i will check and give you a possible solution.
Best Regards.
December 11, 2023 at 7:44 pm #520604
waynep16ParticipantNo problem. Details in private.
Go to this single product page https://ultimatejuice.dev/product/five-o-50ml-shortfill-e-liquids/ you will see the attributes loop for “taste”. the taste attributes have image but there are no images showing.
You can edit the single product layout here https://ultimatejuice.dev/wp-admin/post.php?post=357&action=edit
You will see the “Product additional information table” settings there.
December 12, 2023 at 4:09 pm #520913
Aizaz Imtiaz AwanKeymasterHello,
I think you mis understand the feature of the Product additional information table widget. It only show the attribute image which you have added for the Attribute: https://ultimatejuice.dev/wp-admin/edit.php?post_type=product&page=product_attributes&edit=5
This widget will not show the swatch images, this is not possible.
Best Regards.
December 12, 2023 at 4:59 pm #520962
waynep16ParticipantWhy do we have swatch images if we can not show them on the page in our single view template ?
Do you have any bakery element to show it as meta data or any code we can use to do this please?
December 13, 2023 at 2:23 pm #521236
Aizaz Imtiaz AwanKeymasterHello,
Sorry, this is not possible. The swathes only show in the attributes under the variation selection of the products: https://ibb.co/nLqZXVz
You can not show the swatches on any other section on the single product page.
Best Regards.
December 13, 2023 at 8:18 pm #521397
waynep16ParticipantYour “Brands” wpBakery module is doing what we need but it is looping only “brand” attribute with images!
If you can just tell me where that module is we can modify the code to work with ALL attributes not just brand attribute that would solve this issue,
Can you developer help with this?
December 14, 2023 at 3:27 pm #521626
Aizaz Imtiaz AwanKeymasterHello,
Sorry but there is no option in Theme Settings available for that.
It requires customizations and this is beyond our limitations and support policy.
Regards.
Xtemos StudiosDecember 14, 2023 at 8:06 pm #521770
waynep16ParticipantCan you ask developers to create an attributes WPbakery element? same as the brands one but with customisable attribute names?
December 15, 2023 at 7:25 pm #522082
Aizaz Imtiaz AwanKeymasterHello,
For the betterment of the Theme you can post your suggestions/requests related to Theme on the following Feature Request thread:
https://xtemos.com/forums/topic/features-requests-2/So, if the Development Department finds it fits with the Theme environment then surely they will look through it.
Thanks for your understanding.
Have a great day.
Topic Closed.
Best Regards.December 18, 2023 at 12:47 am #522358
waynep16ParticipantIn relation to this post and also https://xtemos.com/forums/topic/add-atttribute-image-on-product-grid/
Can your developer please show me or explain where code is to get the attribute image (not the main image but the swatch image) for example what meta key / value is storing this image so we can loop it
Even better is if you can ask developer how we can loop attribute list with tooltip ?
December 19, 2023 at 11:24 am #522846
Aizaz Imtiaz AwanKeymasterHello,
The swatch image is located In the database under the “image” key. To display data about the image, you need to use the following function
get_term_meta( $term_id, 'image', true );
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register