WordPress.org

Forums

Easy Digital Downloads
[resolved] Variable Pricing Add-To-Cart URL (3 posts)

  1. umchal
    Member
    Posted 2 years ago #

    Hi,

    Thanks for the great plugin.

    It there a URL query parameter for a product with variable pricing?

    I mean I'm using a URL something like http://mysite/?page_id=4&edd_action=add_to_cart&download_id=8 for a direct link to the checkout page with the product being added to the cart. When it has variable pricing, is there a way to include the chosen option in the URL?

    I hoped this would work but it did not.

    http://mysite/?page_id=4&edd_action=add_to_cart&download_id=8&price_id=2

    http://wordpress.org/extend/plugins/easy-digital-downloads/

  2. umchal
    Member
    Posted 2 years ago #

    Okay, found it. ( https://easydigitaldownloads.com/docs/creating-custom-add-to-cart-links/ )

    http://mysite/?page_id=4&edd_action=add_to_cart&download_id=8&edd_options[price_id]=2

  3. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    Yep that's it :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic