Support » Plugin: Terms & Conditions Per Product » Customization

  • Resolved gigasloop

    (@gigasloop)


    Your 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author giannis4

    (@giannis4)

    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

    Plugin Author giannis4

    (@giannis4)

    I’ll mark this as resolved since there has been no other activity

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.