How to add product drondown list in Woocommerce Plugin?


I want to customize the checkout page as follows:

  1. url will be like: /checkout/product_id where product_id is the Product ID.
  2. All products will be present under a dropdown and product from url product_id will be selected in the dropdown list.
  3. When I change the product the form will be rendered again with new selected product like: new product name, price.

NOTE: product quantity will be always 1

There is no plugin to achieve this specific requirements. need a guideline or study reference link. Thanks in advance.

Abdus Sattar Bhuiyan 3 months 0 Answers 10 views 0

Leave an answer