Skip to content
Advertisement

Tag: woocommerce

How to do 301 redirections after WordPress Permalinks change

I changed the Woocommerce permalink structure of my site and I would need some 301 redirections Help. Woocommerce product permalinks were configured according to the structure: And now according to the structure: What lines do I need to add to the .htaccess file to do 301 redirections, please? UPDATE: /shop/%product_cat%/ is a Permalink Structure in WordPress that means example.com/shop/category1/subcategory1/MyProduct and

Add an email attachment to WooCommerce notifications based on product category

For some of my product I need to send an additional pdf (not an invoice) to my customers. With the help of this post: https://wordpress.org/support/topic/attach-pdf-to-confirmation-email-for-specific-product/ I was able to attach an attachment to every order confirmation email. Then I tried to change the code to filter by product sku. In this post I found some infos about the variables that

Hiding element (row) in woocommerce account page

I want to hide one row in the table on account page in woocommerce. This item is called ‘end’ or ‘end date’ in the table class = shop_table subscription_details. https://github.com/wp-premium/woocommerce-subscriptions/blob/master/templates/myaccount/subscription-details.php How can I do it will a CSS snippet? Answer You should not use CSS to hide this but rather replace the template in your child theme. Woocommerce uses a

Advertisement