Conversation
supportYour plugin seems to do what I need however since I am really only using this for the same terms and conditions for all products in a specific category, I don’t really want the message on the checkout page to have the product name in it – I would prefer to just have the product category or even some hard coded text in it. You mention that there are hooks I can use but I don’t see any docs on this. I do see in the code of the class-main where I might change this but don’t want to change the plugin code itself. Can you point me in the right direction? Thanks
Hi gigasloop, Thanks for using the plugin and I am glad that it does what you do. There is a filter called “ gkco_custom_product_terms_text ” that has 3 parameters ($terms_text, $product_terms_url and $product_id). It is used to filter the text that appears on the checkout page. Using it will be able to change the text to whatever you want. Cheers, Giannis
I’ll mark this as resolved since there has been no other activity
Hi gigasloop, Thanks for using the plugin and I am glad that it does what you do. There is a filter called “ gkco_custom_product_terms_text ” that has 3 parameters ($terms_text, $product_terms_url and $product_id). It is used to filter the text that appears on the checkout page. Using it will be able to change the text to whatever you want. Cheers, Giannis
I’ll mark this as resolved since there has been no other activity