I’m looking in ppom-price.js, line 361
ppom_add_price_item_in_table(option_label_with_qty, option_price_with_qty, 'ppom-variable-price', '', option);
Is there something here I can amend? I thought there might be something checking if option price > 0?
-
This reply was modified 1 year, 6 months ago by
johnfotios.
-
This reply was modified 1 year, 6 months ago by
johnfotios.
On line 557 (I think) it’s got if (price == 0) return;
If I comment this out, it works. It will add products priced at 0 to the table.
Unfortunately it doesn’t work if the field type is Image… is there something else for images?
I noticed a quirk… which works but doesn’t actually work. The price field lets you enter a string, not just numbers, so I set the price to “free”, it now works and adds the option to the price table, showing it as £0.00. Great!
But now this breaks the Options Total and Total fields, which get stuck as £0.00!
Ok… final update! I’ve got it working by setting the option price to 00.0000000000000000000000001. lol.
This lets options appear and show as £0.00 without breaking the Options Total or Total.