Hello!
I’ve created “meta:_product_hover” column in CSV to import with products.
Set “hover_active” when necessary.
Interesting thing happened:
Hover is enabled on product pages. But it doesnt work.
I have to disable and enable it back again in order to make it work. Quite strange.
Any ideas?
Kind Regards,
Denis
Hey dmaca!
No, tbh I’m not sure why it doesn’t work. You can try to add a print_r() function to enfold/woocommerce-config/config.php to output the content of the get_post_meta query. Search for
$active_hover = get_post_meta( $id, '_product_hover', true );
and replace it with
$active_hover = get_post_meta( $id, '_product_hover', true );
print_r($active_hover);
to check the return value. If you want to activate it for all products replace
$active_hover = get_post_meta( $id, '_product_hover', true );
with
$active_hover = true;
and it should work even if the post meta value is not set.
Cheers!
Peter
Thanks, Peter!
I don’t think i can check it that deep…
I can give you login info to our staging site… and you will see that HOVER is on for the product but it doesnt work.
I thought … i need to re-load that data once again when all images are there and imported. But problem is the same.
Well… i’m sure its not a catastrophe and will do it manually by re-setting hover for each product.
Kind Regards, Denis
P.S. Just wanted to save some time by csv- uploading it. :)