• Resolved vitb

    (@vitb)


    Hello,

    I would like to get URL that will add specific variation of subscription to cart. The variations have only one attribute, yearly (Ro?ní) and monthly (Měsí?ní).

    I have tried things like:
    href=”https://yourdomain.com/?add-to-cart=88&quantity=1“
    href=”https://yourdomain.com/?add-to-cart=1572&variation_id=73&attribute_interval=Ro?ní“
    href=”https://yourdomain.com/cart/?add-to-cart=1572&variation_id=74&attribute_interval=Měsí?ní“

    ID of the product is 1572
    and of variations 73 and 74

    I am using official woocommerce subscription plugin

    • This topic was modified 1 year, 4 months ago by vitb.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @vitb


    Have you tried:

    https://yourdomain.com/?add-to-cart=88&variation_id=73&attribute_pa_interval=yearly
    Thread Starter vitb

    (@vitb)

    Yes I tried that, tried again now to be sure but nothing

    Saif

    (@babylon1999)

    Hello @vitb,

    Support for premium extensions is handed via email. :?)

    Could you please open a ticket about this from WooCommerce.com > MY profile > Support?

    Make sure to include a link to this thread, so we know what has been done already. Also, please contact us from the same account you purchased the extension from.

    Cheers!

    Thread Starter vitb

    (@vitb)

    Thank you! I did that and now its working

    You just have to use variation ID, not products id but variations in URL like this:

    domain.com/?add-to-cart={Your variation ID}/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to cart URL on subscription variation product’ is closed to new replies.