I am importing products to my shop using Wp all import. In the import some products only have a sale_price and no regular_price. I then have these:
-
Regular_price - [IF({regular_price[1][.!='']})]{regular_price[1]}[ELSE]{sale_price[1]} [ENDIF]
-
Sale_price - [IF({regular_price[1][.!='']})]{sale_price[1]}[ELSE][ENDIF]
And they work fine. But I need to add the that with this on my import:
- Regular_price - [round_price({regular_price[1]},"14.4","100",".05")]
- Sale_price - [round_price({sale_price[1]},"15","100",".05")]
Is it possible to create a php script that combines the two or is it possible to combine them together on my import?
I hope someone can help me. Thanks!
Aucun commentaire:
Enregistrer un commentaire