Search found 16 matches

Page 1 of 1

Search found 16 matches

Re: Sql query: get option_value_id ONLY if the "name" field matches option_value_description

Same, name is array you choose in ex: $optionval = ["Yellow", "Green", "RED"]; SELECT * FROM " . DB_PREFIX . "option_value_description WHERE name IN('". implode( "','" , $optionval )."') query results object(stdClass)[5] public 'row' => array (size=4) 'option_value_id' => string '42' (length=2) 'lan...

Jump to post
  • Thu Feb 14, 2019 2:25 pm
  • Replies 22
  • Views 1179
Re: opencart 3 product filter hide product option value zero

filter count for product, it show all product have set option and ignore your option stock value. You can customize your code to resolve or contact me

Jump to post
  • Thu Feb 14, 2019 1:02 pm
  • Replies 1
  • Views 489
Re: Hỏi cách Xóa thanh cuộn trong phần miêu tả.

trong file stylesheet.css thêm đoạn này cuối file

Code: Select all

#tab-description {
    max-height: inherit !important;
    overflow: visible;
}

Jump to post
  • Thu Feb 14, 2019 12:47 pm
  • Replies 1
  • Views 404
Re: Supplement products expiration date

On tab data of product manager have some field ex: upc, ean, ... on front-end call variable find

Code: Select all

<li>{{ text_model }} {{ model }}</li>
and add after

Code: Select all

<li>Expery {{ ... }}</li>
... is data of upc, ean, ...
Contact me to get module of your theme

Jump to post
  • Thu Feb 14, 2019 12:21 pm
  • Replies 2
  • Views 155
Re: Category description visibility question

first, you must have page variable on controller. find if (isset($this->request->get['page'])) { $page = $this->request->get['page']; } else { $page = 1; } and add $data['page'] = $page after find {% if description %} in category.twig and edit {% if description and (page == 1) %} to display descript...

Jump to post
  • Thu Feb 14, 2019 12:00 pm
  • Replies 1
  • Views 250
Re: Contact info within Information page or HTML module

you can if you know code with str_replace or contact me to get module for resolve your problem

Jump to post
  • Thu Feb 14, 2019 11:30 am
  • Replies 4
  • Views 194
Re: Sql query: get option_value_id ONLY if the "name" field matches option_value_description

if you have $eachoptionvalue is an array, example [1,5,9,12] you can use this query
"SELECT name FROM " . DB_PREFIX . "option_value_description WHERE option_value_id IN(". implode( "," , $eachoptionvalue ).")"

Jump to post
  • Thu Feb 14, 2019 11:25 am
  • Replies 22
  • Views 1179
Re: Popup of not found coming on register page

present, if you want it work, click country and change it,because below script $('select[name=\'country_id\']').on('change', function() { you can change change to ready or $(document).ready(function() { $.ajax({ url: 'index.php?route=account/account/country&country_id=' + $('select[name=\'country_id...

Jump to post
  • Tue Sep 19, 2017 8:33 pm
  • Replies 2
  • Views 553
Re: the cart and checkout dont work

I dont think so, because i had this case, check your common.js file because addtocart use ajax on this.
You must find line

Code: Select all

$('#cart > ul').load('index.php?route=common/cart/info ul li');
in

Jump to post
  • Tue Sep 19, 2017 8:19 pm
  • Replies 28
  • Views 1664
Re: decode html in twig?

We can use html_entity_decode in backen or use javascript for html entities decode

Jump to post
  • Tue Sep 19, 2017 8:15 pm
  • Replies 2
  • Views 2931
Re: API Login Error - OpenCart 3.0.2.0

Me too, im try more times, change method post to get ... I think Opencart api its not complete, becase we had an SQL error and im found this. $query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "api` WHERE `username` = '" . $this->db->escape($username) . "' `key` = '" . $this->db->escape($key)...

Jump to post
  • Fri Aug 25, 2017 11:55 am
  • Replies 6
  • Views 5021
Re: Sửa lỗi Notice: Undefined variable: route in /public_html/catalog/controller/common/seo_url.php on line 75

Mở file catalog>controller>startup>seo_url.php, kiếm dòng parse_str('route=common/home', $data); (dòng 74 hay 75 gì đó) thay bằng

Code: Select all

if(isset($url_info['query'])) {

		parse_str($url_info['query'], $data); } else {
		
		parse_str('route=common/home', $data);	
			
		}

Jump to post
  • Mon Apr 10, 2017 11:39 am
  • Replies 2
  • Views 1893

Page 1 of 1

Search found 16 matches