Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to implement adding items with markups to the cart in modx revo shopkeeper 3?
Good afternoon!
It is not possible to implement the addition of goods to the cart with TV parameters that affect the price.
ChangePrice = 1 in SK settings
Product card template:
[[$tpl_start]]
<div class="row shk-item good_in_list">
<div class="col-xs-6">
<img class="shk-image" src="" alt="Вопрос">
</div>
<div class="col-xs-6">
<div class="row">
<h2>Вопрос</h2>
</div>
<div class="row good_shot_desc_in_list">
</div>
<div class="row good_price_and_more_in_list">
<form action="" method="post">
<fieldset>
<div class="price_in_list shk-price">[[*price]] руб.</div>
<input type="hidden" name="shk-id" value="2" />
<input type="hidden" name="shk-name" value="Вопрос" />
<input type="hidden" name="shk-count" value="1" />
[[*price_selector]]
<div class="product-price">
<button type="submit" class="shk-but more_in_list">В корзину <i></i></button>
</div>
</fieldset>
</form>
</div>
</div>
</div><!--good_in_list-->
[[[email protected]_catalog]]
[[$tpl_finish]]
<select class="shk_param" name="price_selector__" id="price_selector" onchange="SHK.additOpt(this)">
<option value="0__*10" selected="selected">name</option>
<option value="1__*100">name1</option>
</select>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question