I have a paid module that needs some modifications in order to work the way I need. This is the module:
[url removed, login to view]
The actual module has BOGO (buy-one-get-one free) 1+1 offer but the free big pizza has to be a specific one and the customer can't change it.
The problem is that I want to customize it in this way:
For any paid big pizza[+options] the customer is getting ANY other big pizza[+options], not a specific one.
I have contacted the module developer and he told me that it is possible to modify the module in this way and he even gave me some hints how to do it:
============this is the answer I've got=============
What you are describing is what I call a combined condition - 'buy product X and any product of group Y, get a discount'.
Pricing Deals Pro does not offer this ability out of the box, but you can do this with a little PHP magic using a Pricing Deals Pro Wordpress filter.
Pricing Deals Pro includes 2 Wordpress Filters, each of which will allow you to write a PHP function which works with a general rule, and have it check for the specific criteria you need.
(If you're not tech savvy, I'd suggest jobbing this out to a freelancer, as I don't do custom work ... )
You can find documentation and an example in the PRO plugin zip file, in Pricing Deals Pro/core/...[url removed, login to view] . Just search for the word 'filter'... When completed, wordpress filters are generally placed in your theme's [url removed, login to view] file, so that they are unaffected by plugin updates.
In your case, you'd do your rule to say 'buy product X get a discount'. Then in the inpop Pricing Deals Pro Wordpress filter, your custom function would look to see if there was a 2nd product in the cart which pairs to produc x, and which would grant the discount.
THE IMPLEMENTATION HAS TO BE DONE VIA TEAMVIEWER!!! PLEASE DON'T BID IF YOU DON'T WANT TO WORK THIS WAY!!! THANKS