Page 1 of 1

Back Type Image

Posted: Fri Mar 31, 2017 3:04 pm
by danijr
I went back type image in version 2.3...
https://pastebin.com/3cKxCkSH
But does not want to update price when I select Options.
Opencart it detects the type image , which file to edit controller or model.

Re: Back Type Image

Posted: Mon Apr 03, 2017 4:13 pm
by danijr
I fixed the problem
/system/library/cart ---> cart.php

if ($option_query->num_rows) {
if ($option_query->row['type'] == 'select' || $option_query->row['type'] == 'radio' ) { }

add - > || $option_query->row['type'] == 'image'

if ($option_query->row['type'] == 'select' || $option_query->row['type'] == 'radio' || $option_query->row['type'] == 'image') { }