• Hello,

    The plugin seems great! I configured it but the fields to get notified when the product is back to stock are not displayed on my single product page.

    Can I use a shortcode or a PHP function call on my theme single product page template to force displaying it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support CodeWooGeek Support

    (@codewoogeeksupport)

    Hello there,

    Good Day!!

    We’re here to assist you.

    We suggest you use the following shortcode and check it out.

    [cwginstock_subscribe_form product_id=’304′] // for simple product

    [cwginstock_subscribe_form product_id=’304′ variation_id=’314′] // for a variable product, enter the id of both the parent id and the variation id.

    Let us know.

    Thanks.

    Thread Starter soyoo

    (@soyoo)

    Thanks for the fast reply @codewoogeeksupport !

    I would like to add a shortcode for variable products that inserts a list of variations (i.e. <select> field) and the subscribe fields (name, email, button). So a shortcode that can be used for all variations instead of defining a variation id manually.

    Is that possible?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode to add subscription fields on single product page’ is closed to new replies.