Jump to content

как сделать чтобы нельзя было оформить заказ если не набрана минимальная сумма заказа


Recommended Posts

Проверять при оформлении, что минимальная сумма заказа набрана - если нет возвращать ошибку. CartView.php

 

 

в cart.tpl перед {* Доставка *} вставляем

{ if $cart->total_price < 5000}

и перед </form> вставляем {/if}

 

где 5000 сумма минимального заказа

 

В таком же случае у Вас просто не будет видна корзина, что вызовет недоумение у покупателя как минимум = проблемы с юзабилити.

Link to post
Share on other sites
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...