S
S
sllugovskih2015-08-13 22:51:43
CMS
sllugovskih, 2015-08-13 22:51:43

Is it possible to modify the basket in OpenCart for the specifics of trading?

Hello, there is a site on opencart 1.5.5.1
How can I implement it so that goods that are not available (with asterisks) are not included in the total order amount. That is, a person threw in a basket of goods for 5000 rubles, of which only 2000 rubles are in stock. And he can only pay this amount in the future. But in the order, I need to come and the goods that he did not pay for are not available. Thanks for answers.
0ee01fc1510e43439536ac3041bb7490.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sasha, 2015-08-13
@sllugovskih

/catalog/controller/checkout/cart.php
in this file this logic.
I don’t remember exactly, but it seems that syste/library/cart.php is responsible for the total ->getSubTotal();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question