Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Update Product Title On Save/Update of Product
- This topic has 4 replies, 2 voices, and was last updated 6 years, 6 months ago by WCFM Forum.
- AuthorPosts
- May 10, 2018 at 2:15 pm #23112dailygivesParticipant
I’m looking at the products manage page, and I’d like to hook into the form submission and change the product title for all new or updated products (that are submitted from the products manage page form).
For example, user enters a product title, fills in product details, then clicks publish. At this point I’d like to change the product title dynamically to something other than just the title field (either change it before it it saved, or change it after it is saved and force a resave). Are there any good hooks to accomplish this? I see the hook “after_wcfm_products_manage_meta_save”, but was wondering if there was a better place for this operation.
Thank you!
- May 10, 2018 at 2:21 pm #23113dailygivesParticipant
Actually I just saw the filter “wcfm_product_content_before_save”! I think this might be what I need. If not please let me know, thank you!
- May 10, 2018 at 3:36 pm #23117WCFM ForumMember
Hi,
Well, you may use any of this Hook for the purpose.
If still require any help in this please know me.
Thank You
- May 10, 2018 at 7:28 pm #23123dailygivesParticipant
Is there any documentation showing what hooks/filters are already included within WCFM?
Thanks
- May 11, 2018 at 4:43 pm #23138WCFM ForumMember
Hi,
I am really sorry, we don’t have any such documentation yet!
But don’t worry, just ask me if you required any kind of assistance.
Thank You
- AuthorPosts
- The topic ‘Update Product Title On Save/Update of Product’ is closed to new replies.