Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › How to remove products policies from emails?
- This topic has 10 replies, 5 voices, and was last updated 4 years, 6 months ago by Auhouse.ru.
- AuthorPosts
- January 15, 2020 at 4:31 pm #102122AndreyParticipant
Hi,
How can we remove product policies from emaisl which customer receives with new order?
Now after a table of order contents there are a lot of additional policies for each ordered product.
If customer have 5 items in the order in email there are policy for each product.
And if a policy of product is empty – vendor’s policy linked and showed in the emails.So, in emails we need to show only vendor/shop specific policies but not policies for items.
In will make email compact and clear.Thank you
- January 16, 2020 at 6:44 pm #102304AndreyParticipant
Hi Support Team!
Could you give a solution for our request? - January 23, 2020 at 11:41 am #103342WCFM ForumMember
HI,
How can we remove product policies from emaisl which customer receives with new order?
– Add this line to your site for the purpose-
add_filter( 'wcfm_is_allow_policy_under_order_emails', '__return_false' );
Well, this will work after WCFM Marketplace next update.
Thank You
- January 23, 2020 at 12:02 pm #103350WCFM ForumMember
You may also add this show policies by vendor instead by item –
add_filter( 'wcfm_is_allow_order_item_policies_by_vendor', '__return_true' );
This will also work after WCFM Marketplace next update.
- January 23, 2020 at 2:04 pm #103391AndreyParticipant
Hi, and thank you for an answer.
Do we need to add those filters to functions.php or using snippets? - January 23, 2020 at 3:02 pm #103398AndreyParticipant
And, by the way, how it is possible to put Store Policies in PDF invoice or packing slip?
We want to inform customers about vendor’s rules in the invoice.Thank you
- February 6, 2020 at 3:02 pm #105754WCFM ForumMember
Well, by default Store Policies part of Store Invoice.
- May 10, 2020 at 3:20 pm #129142darrenmParticipant
Hi, I put the above snippets in functions.php and they didn’t work.
How can I:
a.) remove the policies from all emails to the shop owner (vendor).
b.) OR, show vendor polices only for customers emails, and not for vendorsAlso I noticed a ?> in the functions.php, may I remove it?
Thanks.
- May 10, 2020 at 3:39 pm #129144Auhouse.ruParticipant
How to remove supplier policy from order and from emails
- May 11, 2020 at 12:47 pm #129459Sarmistha ChakrabortyMember
Hello,
To remove polices from order and emails –
add_filter( 'wcfm_is_allow_policies_under_order_details', '__return_false' );
Add this code in your theme’s functions.phpThanks.
- May 11, 2020 at 1:04 pm #129472Auhouse.ruParticipant
It works, thanks
- AuthorPosts
- You must be logged in to reply to this topic.