M
M
Michael2017-02-02 23:10:28
1C-Bitrix
Michael, 2017-02-02 23:10:28

Additional properties of goods?

Hello.
How can I add several fields to the product card for customers to fill in?
For example, for a product, it is necessary for the buyer to indicate the size. What will be entered should be displayed in the basket under the product itself. These fields should not affect the cost in any way.
The same with checkboxes. Is it possible to add several options to the product card for the buyer to choose. Checkboxes should also not affect the cost. Just add under the product.
The fields to fill in and checkboxes are the same for all products.
Thanks for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Burlaka, 2017-02-03
@docmikhail

We display fields/lists/checkboxes in the product card, pass them in a common array with other data on the product added to the cart.
In the add function, add PROPS:
dev.1c-bitrix.ru/api_help/sale/classes/csalebasket...
To be able to manage, for example, lists, enter these properties in the infoblock with goods in the properties of infoblocks and set them a list of values, when outputting on the page we display these variants of values ​​to choose from.
Well, accordingly, in the basket we process those PROPS that we added along with the product to the basket.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question