N
N
Nikki1612018-11-30 10:36:39
MODX
Nikki161, 2018-11-30 10:36:39

How to display certain values ​​in the cart?

Hello!
Tell me please!
You need to add three different characteristics with a drop-down list on each product.
We decided to write their values ​​directly in the template with pens.
Here is one of the features.

<div class="collection-tabs"><div class="tabs-icon tabs-cols" style="height: 86px;"><img src="/icon/resizing-tool.png"></div><div class="tabs-block tabs-cols" style="height: 86px;"><span class="name-tabs">Размер:</span>
    <select id="size-option-select" name="size-option">
       <option value="выбор" selected="selected">Выбрать</option>
             <option value="15">15</option>
             <option value="15,5">15,5</option>
             <option value="16">16</option>
             <option value="16,5">16,5</option>
             <option value="17">17</option>
             <option value="17,5">17,5</option>
             <option value="18">18</option>
             <option value="19">19</option>
             <option value="20">20</option>
             <option value="21">21</option>
             <option value="22">22</option>
             <option value="22,5">22,5</option>
         </select>
     </div></div>

How, when adding a product to the basket, display in the basket and write to the database the selected values ​​​​of these three characteristics ???

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oe24y, 2018-12-01
@oe24y

At least you need to use xPDO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question