Drop down option for products in Payment field

  • Genxcreative
    Asked on May 12, 2015 at 6:18 AM

    I have three products with different prices and a customer can choose only one of them. So, I want a drop down menu with all three products listing, and a customer to be charged according to the product he chooses. I saw product selection by check boxes, but in this way multiple products can be chosen.

  • Jan
    Replied on May 12, 2015 at 11:09 AM

    It is possible to use drop down for your products in payment field. Please check this demo that I created. You can clone it if you like. Here's a guide on how to do it.

    1. Click the payment field then click the "Wizard" icon.

    Drop down option for products in Payment field Image 1 Screenshot 60

    2. Press the "Next" button twice to reach the products page.

    3. Click "Add New Product" button.

    4. After adding the product, click the "Add New Option".

    5. Select "Add a Custom Property".

    Drop down option for products in Payment field Image 2 Screenshot 71

    6. Put a label name "Choose One" and then put the values separated by breaks or another line.

    item 0 - Select a Product - $0.00
    item 1
    item2
    item3

    Drop down option for products in Payment field Image 3 Screenshot 82

    7. After that, you can put the prices for each item.

    Drop down option for products in Payment field Image 4 Screenshot 93

    8. Click finish and save the form.

    Now you need to inject this custom CSS code to hide the price beside "My Products".

    .form-product-details { display: none; }

     

    This is how it should look like:

    Drop down option for products in Payment field Image 5 Screenshot 104

     

    Hope this works. Thank you.