Jump to content

Margin of prices of producs and insert with PHP


Recommended Posts

Hi, I have a problem with a task new, I want create product through a script PHP using an foreach, my problem is that I dont know how create a product that cost different when client buy some for example

1 unit -> 20€

10 unit ->17€ per unit

20 unit ->16,50€ per unit

50 unit -> 15€ per unit

How can I create a product using this description?

thanks you in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...