change cart to plain post from ajax
This commit is contained in:
@@ -33,9 +33,10 @@ use kartik\widgets\ActiveForm;
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class='col-md-3 '>
|
||||
<?php echo Html::a(Yii::t('frontend/product', "Paid"),"javascript: $('#frm_customer_cart').submit()",[ 'id' => 'btn_pay_customer_cart', 'class' => 'btn btn-primary btn-block' , 'name' => 'payout_customer_cart']) ?>
|
||||
</div>
|
||||
<div class='col-md-3 '>
|
||||
<?php $form = ActiveForm::begin([]); ?>
|
||||
<?php echo Html::submitButton( Yii::t('frontend/product', "Paid") , [ 'id' => 'btn_pay_user_cart', 'class' => 'btn btn-primary btn-block', 'name' => 'payout_customer_cart' ] ) ?>
|
||||
<?php ActiveForm::end(); ?>
|
||||
<?php echo Html::a(Yii::t('frontend/product', "Frissít"),null,[ 'class' => 'btn btn-primary btn-block' , 'onclick' => 'location.reload();']) ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user