O
O
Ostap2019-11-17 14:47:58
css
Ostap, 2019-11-17 14:47:58

New field in the Opencart product card?

hello everyone It is
necessary to make a new field (a duplicate of the recommended products) in the admin panel in the product card and, of course, display these products on the front.
In the admin panel, in product_form.tpl, I made a pod similar to the existing field of recommended products
. In the admin panel, in model/catalog/product.php, by analogy, I created methods for creating, deleting and editing similar products in the database
. In the database, I created a separate table for similar products. Again, by analogy
In the Controller, again, I did everything))))
BUT !!! Nothing is written to the database and no errors are returned
. Help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Chefranov, 2018-11-07
@Chefranov

Take the whole picture (along with the girl on the bike) and make it a background. Why share everything?

S
Sergey Karvasarny, 2018-11-07
@megapihar6

as mentioned above, I think it's better to cut out the whole thing, and if you want a girl separately, then position: absolute; put it where it needs to be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question