Dynamic Product
-
Hi,
I’m developing a process for a customer who is a Courier service provider.
They want their customers to be able to enter dimensions for a parcel I.e. Width, Height, Depth and it calculates the price for the different services, the user picks which service they want to use and it creates the order in WooCommerce.
I have the calculation and selecting service working.
Each service is created as a product.
Please advise how best to set up the product so that we can add the Width, Height and Length that the user entered to it when adding the product to the cart? This will be done using php.
My current thinking is to create an attribute of height, width, depth to each product with a value of 1. When the user clicks to select service, I create new attributes for the product height, length, width of the value entered. I think there must be a better way to do this? as over time, the product is going to end up with thousands of attributes.
- The topic ‘Dynamic Product’ is closed to new replies.