L
L
Localhost2022-01-10 21:40:44
MODX
Localhost, 2022-01-10 21:40:44

Dependency of msOptionsPrice2 on minishop2 product options (MODX)?

There is someone who figured out a bunch of product options so that you can click on any option and the data changes.
Now it works only by selecting one option, it turns out that it is the main one and pulls others along with it, while other options are blocked from selection (But they change when the main one is selected)

{'!msOptionsPrice.option' | snippet : [
'options' => 'color,option_1',
'processColors' => 1,
'constraintOptions' => [
'option_1' => ['color'],
'option_2' => ['color', 'option_1']
]
]}
{'!msOptionsPrice.option' | snippet : [
'options' => 'option_2',
'processColors' => 1,
'constraintOptions' => [
'option_2' => ['color']
]
]}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question