Search found 88 matches

Search found 88 matches

Re: Category tree in select chain

<html> <head> <script src="js/jquery.min.js"></script> <script> $(document).ready(function(){ $('#category').on('change', function(){ var categoryID = $(this).val(); if(categoryID){ $.ajax({ type:'POST', url:'ajaxData.php', data:'category_id='+categoryID, success:function(html){ $('#child').html(ht...

Jump to post
  • Thu Jan 30, 2020 9:37 pm
  • Replies 6
  • Views 202
Re: Category tree in select chain

I did it in php but on external page.. I want to implement it in OpenCart to use Opencart functions.

Jump to post
  • Thu Jan 30, 2020 9:11 pm
  • Replies 6
  • Views 202
Category tree in select chain

Hello! Sorry for this stupid post but I'm newbie in OpenCart and I want to know your advices. I want to create category chain by select options. I did it on php but after that I discovered that I need to create a new cart and order system.. Now I created template and controller files using category ...

Jump to post
  • Thu Jan 30, 2020 8:09 pm
  • Replies 6
  • Views 202
Re: Save photo in composer

Thank you! This worked, did someone used composer in controller file? require_once(DIR_STORAGE . 'vendor/autoload.php'); use GDText\Box; use GDText\Color; function vouchercreate($pret) { // Carving RGB codes out of HEX codes list($r, $g, $b) = sscanf($_POST['color'], "#%02x%02x%02x"); list($sr, $sg,...

Jump to post
  • Fri Nov 29, 2019 9:42 pm
  • Replies 2
  • Views 148
Save photo in composer

Hi guys! I know that is not OC related, sorry but I don't find a solution. I'm created a script for generate coupon image with customer name but I can't save the image on the host to send it by email.. $im = imagecreatefromjpeg($imagine); // Fetching Sizes of the Image $sizes = getimagesize($imagine...

Jump to post
  • Thu Nov 28, 2019 11:12 pm
  • Replies 2
  • Views 148
Re: Sort products by quantity by default

Any ideas where to find the code?

Jump to post
  • Mon Nov 25, 2019 8:52 pm
  • Replies 5
  • Views 301
Re: Sort products by quantity by default

Thank you! But not working .. :-\ In catalog.php: if (isset($this->request->get['sort'])) { $sort = $this->request->get['sort']; } else { $sort = 'p.quantity'; } if (isset($this->request->get['order'])) { $order = $this->request->get['order']; } else { $order = 'DESC'; } $data['sorts'][] = array( 't...

Jump to post
  • Mon Nov 25, 2019 5:05 pm
  • Replies 5
  • Views 301
Sort products by quantity by default

Hi guys! I'm using OC 3.0.3.2 with journal 3. I'm trying to sort products in category pages by quantity but I have some issues. Changed p.sort_order (default sort) to p.quantity in category.php but category page is not loading products sorted by quantity, it's loading sorted A-Z.. If I'm changing to...

Jump to post
  • Sat Nov 23, 2019 5:03 am
  • Replies 5
  • Views 301
Re: Image pan control zoom / drag

I searched for script.. Extensions doesn't help me, like I said is a custom code on category pages, maybe I can just take the code from an extension.

Jump to post
  • Wed Nov 20, 2019 2:48 am
  • Replies 6
  • Views 368
Re: Image pan control zoom / drag

Because I have custom code on category pages

Jump to post
  • Wed Nov 20, 2019 12:00 am
  • Replies 6
  • Views 368
Re: Homepage dissappeared after using atomix turbo

I feel the difference of speed now.. The only slowly load now is when I'm searching products because it search in description too. It tooks like 6-7 seconds but on 100k products I think is fine. Any ideas of optimization?

Jump to post
  • Fri Nov 15, 2019 11:35 pm
  • Replies 19
  • Views 752
Re: Homepage dissappeared after using atomix turbo

Switched to InnonDB manually and let journal 3 tables MyISAM. No errors for now.

Jump to post
  • Fri Nov 15, 2019 10:34 pm
  • Replies 19
  • Views 752
Re: Homepage dissappeared after using atomix turbo

No errors.. I restored the database and just added indexes.. Means that the problem is the conversion to InonDB. What do you think? Should I try to convert it again manually ? Is that increasing the speed?

Jump to post
  • Fri Nov 15, 2019 8:38 pm
  • Replies 19
  • Views 752
Re: Homepage dissappeared after using atomix turbo

I found this script on opencart forum too. A lot of peoples runned it, I just have journal theme. I got no errors.

Jump to post
  • Fri Nov 15, 2019 7:45 pm
  • Replies 19
  • Views 752
Homepage dissappeared after using atomix turbo

Hello guys! I;m using OpenCart 3.0.3.2 with Journal 3 theme. I wanted to speed up my store and I used atomix turbo script. Now my site is running pretty fast but my homepage is gone (attached). Found some topics on the forum but with no solution. Maybe someone solved that.

Jump to post
  • Fri Nov 15, 2019 2:33 pm
  • Replies 19
  • Views 752
Image pan control zoom / drag

Hi! I'm searching for some script / css for image zoom / drag control. I don't want an opencart extension I want just some script that run on twig..
If someone can help me.. Thank you.

Jump to post
  • Thu Oct 10, 2019 7:20 pm
  • Replies 6
  • Views 368
Re: Dicount code not working on Journal

Hi! I contacted them but they said that is about OpenCart default theme.. I'm using OpenCart default cart / checkout.. In my cart, is not appearing discount code form. EDIT: In Journal options I have: Coupon Estimate delivery Gift Certificate When Coupon is active in cart page appear Estimate Delive...

Jump to post
  • Thu Oct 03, 2019 10:20 pm
  • Replies 3
  • Views 248
Dicount code not working on Journal

Hello! I'd like to know if someone has this problem with journal 3 theme: No discount code input in cart page ( I can't use discount code ) In Journal options, Coupon visibility is checked and in twig file I have: {% for voucher in vouchers %} <tr> <td></td> <td class="text-left td-voucher">{{ vouch...

Jump to post
  • Mon Sep 30, 2019 11:05 pm
  • Replies 3
  • Views 248
Re: Send variable from twig to controller

Yeah.. I'm stupid.. Like this?

Code: Select all

<form action="{{ amscopy }}" method="get">
		<input type="text" name="originalcode" placeholder="Jan original" />
		
		<button type="submit" id="button-copyams" title="AMSCOPY" class="btn btn-default"><i class="fa fa-link"></i></button>
        </form>

Jump to post
  • Wed Sep 25, 2019 11:11 pm
  • Replies 4
  • Views 264

Search found 88 matches