Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › eStore – discounted price when buying an upgrade digital product
- This topic has 2 replies, 2 voices, and was last updated 5 years, 11 months ago by morsagmon.
-
AuthorPosts
-
November 28, 2018 at 7:00 pm #15212morsagmonMember
I couldn’t find a solution with the add-ons available, please advise if there’s a way to do the following:
I’m using eStore + eMembership + Software Licensing for selling a licensed, downloadable product.
I have two products defined:
Product 1 is a full edition of my product, costs 500
Product 2 is a basic edition of my product, costs 200
Buying either of the above products assigns the customer to membership level 4 (=a customer of “the product”).
I need a way to allow an existing customer who purchased product 2 for 200, to be able to buy (upgrade) product 1 for 300 (the price delta between the two products). How can I do that?
Currently, I have no cart or check-out pages, a click on a “buy me” button redirects directly to PayPal for payment (a link with a “wp_eStore_buy_now=1” parameter is used for that button).
I thought I could use coupons/discount and apply to product #1 if I identify the logged-in user purchased product #2 (or belongs to membership level 4), but I couldn’t see how the coupons/discounts functionality allows me to do that.
Another thought is to define a variation on product#1, with a negative price of -300, and when the user buys the upgrade, I send these two parameters:
?wp_eStore_add_to_cart=1&variation1=upgrade&var1_price=-300
Will that work?
I have to keep the full edition and basic edition as two separate products, as I’m using the API to activate the license, and I can only determine the edition licensed using the “product_ref” param coming back from the API (did not see any variation info coming back with the API).
what would you recommend?
November 29, 2018 at 2:05 am #78836adminKeymasterHere is how I would do this:
1) I would create a NEW estore product with the price that I want to charge for this upgrade.
2) Then put this product on a page called “upgrade your license” or something like that.
3) Wrap the buy now button using the section protection feature of emember so ONLY members of certain membership level can interact with this button:
https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
You can now send users (who want to upgrade) to this newly created page.
November 29, 2018 at 6:17 am #78837morsagmonMemberThanks!
Sounds like a fair approach.
The only drawback, I was trying to avoid, is that in order to analyze how many customers I have using product #1, I have to consider TWO items, instead of having it all accumulated under a single code.
Perhaps that’s a reasonable compromise, though…
-
AuthorPosts
- You must be logged in to reply to this topic.