vendredi 23 février 2018

Simple PHP if to add shipping cost to price in wp all import, need a little change to PHP IF

Ill explain my necessity:

I use wp all import to add product to my store, so some items price's is < 20 euro, in this case ill pay 3 euro for single order as shipping fee.

I need a simply if statements like this

[IF({price[.>20]})]{price[1]}[ELSE]{price[1]}+3[ENDIF]

That add 3 in case product price is less than 20...but when i try prices becomes not 3+3=6 but 3+000 = 3000

any ideas about?

Aucun commentaire:

Enregistrer un commentaire