external configured product ( API to receive Product ID etc )
-
I have to handle the “shop” page where the user configures its product on my own. Does the WooCommerce Plugin offer an API where I can give the API the following information:
-Product ID e.g. “5E9W43HzOI”
-Price without Shipping cost
-Amount of the product “How many” of the same product ID
-Relative URL to a picture of the configured productI sell track widening metal disks for cars. This means I only offer “one” product but it is highly configurable. I have a PHP / JavaScript Shopping Page that creates the information above.
Does the WooCommerce Pluginoffer me an API to an “Add to Shopping Cart” button where I can hand over the desired information to the WooCommerce Plugin from my self programmed PHP Shop ′Configure Product′ page.
The WooCommerce would then create a product instance in the customers basked. This product has to only exist for the WooCommerce Plugin as a Order Item assigned to the customer and not as a Shopping Item.
Basically it would be enough if I have an Order for the customer and only my four information above are stored related to this order. This means I dont want to create a “Product” every time an user orders. Because the Product ID is mostly unique and there is a small chance that the 100% same Product will be used again.
- The topic ‘external configured product ( API to receive Product ID etc )’ is closed to new replies.