Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Uplift › Related Category instead of Related products
New Landing › How can we help? › Themeforest Theme Support › Uplift › Related Category instead of Related products
- This topic has 15 replies, 3 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Uplift
-
October 25, 2016 at 5:26 am #298472
Hello Great Team Again ๐
I try not to post thing unless I MUST ๐
Anyhoo, Somehow my related products have shown other category instead of the ONE:(
I just want to show the related category NOT the related products automatically not just each product …
thank you ALL awesome team ๐
and Good day,
VanOctober 25, 2016 at 10:46 am #298501Hi,
Can you try to disable all plugins except Woocommerce and Swiftframework and check again?
Maybe there is some plugin conflict.-Rui
October 26, 2016 at 8:44 pm #298931This reply has been marked as private.October 27, 2016 at 7:13 pm #299215Hi Van,
I am not sure I 100% understand the issue, are you looking to change the way related products shows the products? Or is there an error with the default related products, these show products within the same category.
Thanks,
David.October 27, 2016 at 7:51 pm #299221Hi David,
Thank you for your reply.Actually for the related category as you can see in this link : beside the silk adjustable caps, it shows everything else from the men socks to women socks to shower cap, the hair accessories :
https://vangobeauty.com/product/silk-bonnet-blue-teal-silk-cap/
I just want to show adjustable caps that are relevant with the product that customer looks at .
Thank you !
VanOctober 28, 2016 at 11:15 am #299310Hi Van,
This is not possible, it shows products that share the same categories. As you have many products in many various categories this is causing the issues you see. I’d look to reduce the product categories to 1 per product, two at the most. Tags are best suited for multiple, cross product relations.
Thanks,
David.October 29, 2016 at 5:07 am #299454Hi David ,
if you click on this link and scroll to the bottom you can see the related products NOT ONLY related category , there are also showing EVERYTHING that I have in the store : men socks, hair clips etc.
https://vangobeauty.com/product/handcrafted-adjustable-double-layers-silk-bonnet-mandarin-orange/
I would also know how to reduce the number of the related products to 4 products .
Thank you SO MUCH Swift team ..
Have a wonderful weekend ,
you all are AWESOME and I mean IT !
VanOctober 31, 2016 at 4:42 pm #299622Hi Van,
If they share one category in common they will get display, however I do see one post which should not be there – the men’s socks.
Can you run the update: https://vangobeauty.com/wp-admin/themes.php
October 31, 2016 at 4:53 pm #299628Hello ๐
thank you so much for your reply . I just updated the theme and the problem is still there which it has been there since the last updated . ๐ not only it shows the “related categories” it shows men socks category too ๐
Please help ,
Thank you .
VanNovember 1, 2016 at 4:19 pm #299849Hi Van,
Can you add your FTP details, I’ll need to do some deeper digging into this.
Thanks.
November 2, 2016 at 4:49 am #299928This reply has been marked as private.November 2, 2016 at 2:51 pm #300021Hi Van,
I have just read up further on the WooCommerce docs regarding this, product tags are also taken into consideration for related products, not just categories.
The men’s products which are showing with the shower caps are there because they share the “Orange” tag.
The solution:
1)
Please install and activate the supplied child theme, inside the child theme
functions.php
file paste this:/** * Does not filter related products by tag */ add_filter( 'woocommerce_product_related_posts_relate_by_tag', '__return_false');
2) Clear the Woo Transients: WooCommerce => System Status => Tools => WC Transients
3) Clear your browser cache.
Note: Sometimes you may often to also re-save the product.
Thanks,
David.November 5, 2016 at 1:37 am #300610Hello once again David ๐
I just did what you told me , it works . SO THANK YOU SO MUCH FOR working so hard to help me resolve the problem .
THe funny thing is that it did not happen before until the last update .
May I ask another question, since this is the first time I use the child theme . Do I have to update the child theme from now on since its’ active instead of the main theme . How does it works ?
thank you once again for EVERYTHING ,
Good and safe weekend ahead please ,:)
Warmly,
VanNovember 7, 2016 at 12:20 am #300694No, you just need to update the parent theme because the child theme will load the files of the parent theme plus the ones of the child theme.
Hope it helps.
-Rui
November 7, 2016 at 3:36 am #300703Thank you for always being so FABULOUS !โฅ
-
Posted in: Uplift
You must be logged in and have valid license to reply to this topic.