dav74
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Related products to use just main categoryMany thanks @rynald0s
I have manged this through a snippet which works with the main category for our SEO plugin.
Thanks
Hold on @cybr
UPDATE – it seems to work!! I think they are cached by default so now I checked some other product pages and all working perfectly.
Really that has made my day. Thank you so much… Happy to buy you a coffee if you send me your paypal address 🙂
Hi @cybr
Many thanks for your reply. Sadly it doesn’t work (there is no change in the products being displayed in the “related products” at the bottom of each single product page – they still mix up all the categories which that product is set to).
It’s extra work for you which I fully understand, and would be happy to pay you to help get this working (it’s a real flaw in how WC shows “related products” which are not infact related at all).
Thanks in advance
I also found this snippet for Yoast…
/* Only shows related products from the primary category set by Yoast. */ function wds_display_relatd_products_from_primary_category( $related_posts, $product_id, $args ) { // Get the primary category/term as saved by Yoast $primary_cat_id = get_post_meta( $product_id, '_yoast_wpseo_primary_product_cat', true ); $primary_cat_info = get_term_by( 'id', $primary_cat_id, 'product_cat' ); $primary_cat_slug = $primary_cat_info->slug; // Get ids of just the posts in this category. We only want related posts from the primary category. $args = array( 'status' => 'publish', 'category' => array( $primary_cat_slug ), 'return' => 'ids', 'excluded_ids' => array( $product_id ), 'posts_per_page' => -1, 'visibility' => 'catalog', ); $related_posts = wc_get_products( $args ); return $related_posts; } add_filter( 'woocommerce_related_products', 'wds_display_relatd_products_from_primary_category', 10, 3 );Forum: Plugins
In reply to: [Klarna for WooCommerce] Klarna text in order confirmation in EnglishMany thanks for help in that. In that case we should be able to translate via Loco Translate hopefully.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Klarna text in order confirmation in EnglishHi (@klarna)
A quick reply really would be appreciated on this. Thank you.
Thats perfect. Many thanks 🙂
Forum: Plugins
In reply to: [Order Export & Order Import for WooCommerce] Presale questionHi @webtoffee
I just tried the free version, on just two orders. When I tried to import these 2 orders to the new site only one order import was sucessful.
There was an error message saying the ID of one order was in conflict with another ID on the new website (I checked and there was no other order with this ID). As WP uses pages IDs for orders and general pages, it is possible we have a new page on the new website with the same ID.
How do we get around this so we can import the order which has an ID conflict? Thanks
- This reply was modified 5 years, 7 months ago by dav74.
Forum: Plugins
In reply to: [Order Export & Order Import for WooCommerce] Presale questionThanks for your reply @webtoffee
I have sent a ticket via your website
Great OK! I will put that into action. Thanks once again for all you help. Much appreciated.
Forum: Plugins
In reply to: [Order Export & Order Import for WooCommerce] Presale questionHi @webtoffee
A quick reply would be really appreciated. I need to get this done in the next couple days so seeing what options we have!
Thank you
Hi @cybr
Many thanks for your fast and detailed reply, as always.
Just to make sure I am not doing anything wrong, can/should I also noarchive and nofollow the media attachment files?
Thanks!
Forum: Plugins
In reply to: [Kustom Checkout for WooCommerce] Klarna checkout issue since last updateNo it seems OK.. we are getting Klarna payments in. I think we just got unlucky and on that day quite a few did payments not go through as they possibly did not pass whatever security checks Klarna has in place. We quite often have that issue, but at least it is not a problem our end 🙂
Thansk anyhow for checkign again. You can close this ticket.
Forum: Plugins
In reply to: [Kustom Checkout for WooCommerce] Klarna checkout issue since last updateHi Kristi,
Many thanks for your fast reply.
Well looking more into this, what we see is that there are quite a few orders on “pending payment” status. These payments actually never come in.I mean it is possible that a number of people all failed the Klarna credit checks, but seems strange.
Good no one else reported issues your end. We will keep an eye over next 24hrs and see what happens.
Thanks again
Cheers!