Hi @negarehgfx
Thanks for the info. EDD plugin stores variable price in meta with key edd_variable_prices
. The data is stored like below.
Where [1]
and index
are the variable options ID and will remain same.
Array
(
[1] => Array
(
[index] => 1
[name] => Gold
[amount] => 0.50
)
[2] => Array
(
[index] => 2
[name] => Black
[amount] => 1.50
)
)
When we create EDD product with variable price in admin side it stores some other meta.
Meta Key : _variable_pricing
Value : 1 // To indicate product have variable price
Meta Key : _edd_default_price_id
Value : 4 // Variable options ID for default variable price
Please let me know if you need more details.
Just for reference,
EDD have ‘Frontend Submissions’ add-on (https://easydigitaldownloads.com/downloads/frontend-submissions/) which have ability to add products from front end and vendor functionality.