Search found 36 matches

Search found 36 matches

Re: Add to cart button above description in mobile view ????

Thx mate,

I also looking to do the same for Categories - moving products' list above the description.
I've tried using your Order method but didnt work.
Can you help?

Jump to post
  • Sun May 26, 2019 6:22 am
  • Replies 5
  • Views 652
Re: Customer Orders Report - Data all wrong

Hi, I made changes in v 2.3 but it's not fixed completely. In Reports/Products/Purchased the Total is til not correct. For example, I have: Product | Quantity | Total Glaze1 | 4 | 2.70€ But the price per product is 1.35€ so the total should be 5.40€ Product | Quantity | Total Glaze2 | 3 | 1.58€ But ...

Jump to post
  • Sat May 25, 2019 6:08 am
  • Replies 7
  • Views 2311
Re: class table-responsive is not actually responsive

Thanks mate,
Actually, I found a way to make it more view-friendly only with CSS.

cart.PNG

cart.PNG (120.26 KiB) Viewed 66 times

Maybe I could short the names but it's not necessary

Jump to post
  • Wed May 22, 2019 8:18 am
  • Replies 3
  • Views 164
Re: Help with passing data

Thank for the hint mate!

This really do the job!

Regards!

Jump to post
  • Tue May 21, 2019 8:42 pm
  • Replies 5
  • Views 132
Re: Help with passing data

OK, found a solution. I have targeted the wrong controller file. I added: $data['real_name'] = $this->customer->getFirstName() . ' ' . $this->customer->getLastName(); in catalog/controller/account/account.php And <script> OneSignal.push(function() { OneSignal.sendTags({ real_name: '<?php echo $real_...

Jump to post
  • Tue May 21, 2019 5:23 pm
  • Replies 5
  • Views 132
Re: Help with passing data

Thanks mate, But I've already added OneSignal SDK and it works. But this is additional info (tags) which I want to be sent only on successful login. That's why I get real_name var which should be sent in catalog/view/theme/default/template/account/login.tpl on sucessul login. But dont know how to ch...

Jump to post
  • Tue May 21, 2019 3:40 pm
  • Replies 5
  • Views 132
Help with passing data

Hi guys, Recently I implemented OneSignal to OC 2.3 but I need some help. I want to pass customer's name to OneSignal dashboard. So I added: $data['real_name'] = $activity_data['name']; in catalog/controller/account/login.php: // Add to activity log if ($this->config->get('config_customer_activity')...

Jump to post
  • Tue May 21, 2019 7:46 am
  • Replies 5
  • Views 132
class table-responsive is not actually responsive

Hi guys,

I'm running OC 2.3 with the default theme.
On mobile when I click on the cart, I see the table with products added is not responsive.
How to make it responsive?

Thanks in advance!

Jump to post
  • Fri May 17, 2019 5:35 am
  • Replies 3
  • Views 164
Re: [v3.x - Concept] - Bestseller extension

Hi, It's me again :) Sorry to bother you but what are you trying to achieve using customer search table?? There is nothing there to connect it with orders. Moreover you getting date from customer_search MIN(`cs`.`date_added`) AS `date_start` and then in GROUP BY YEAR(`o`.`date_added`) ? Sorry for st...

Jump to post
  • Fri May 10, 2019 5:11 am
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

Thx mate, Can you refer where you discus about products in customer search? I just check catalog/model/account/search.php where is `products` = '" . (int)$data['products'] . "' and catalog/controler/product/search.php where is: $search_data = array( 'keyword' => $search, 'category_id' => $category_i...

Jump to post
  • Thu May 09, 2019 10:59 pm
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

Hi mate, Today I tested your query directly: SELECT MIN(cs.date_added) AS date_start, MAX(cs.date_added) AS date_end, `cs`.`products` AS `product_id`, `cs`.`category_id`, `cs`.`sub_category`, `o`.`payment_country_id`, `o`.`payment_zone_id`, COUNT(*) AS `searches`, SUM((SELECT SUM(op1.quantity) FROM ...

Jump to post
  • Thu May 09, 2019 9:19 pm
  • Replies 38
  • Views 925
Re: Bestsellers per category

From your code I used only category_id path. I wanted to use also your query but it's too complicated for me :) And with two little kids around me is hard to focus :) So I used original one and just added category_id conditional. When I have more free time will take a look hot to use your query beca...

Jump to post
  • Thu May 09, 2019 5:32 am
  • Replies 13
  • Views 260
Re: Bestsellers per category

Thanks mate,
I removed setting cache. It's not useful here.
Also query returns only one result but for my case it's ok :)

Jump to post
  • Wed May 08, 2019 9:59 pm
  • Replies 13
  • Views 260
Re: Bestsellers per category

Thank you guys! And specially @straightlight who's code helped me to handle myself. Here is final code: <?xml version="1.0" encoding="utf-8"?> <modification> <name>Bestseller per Category</name> <version>1.11</version> <author>masterross</author> <code>BPC</code> <description>Show Bestsellers in cer...

Jump to post
  • Wed May 08, 2019 9:08 pm
  • Replies 13
  • Views 260
Re: [v3.x - Concept] - Bestseller extension

And also these: {{ text_type_order_asc }} To: {{ text_type_asc }} and {{ text_type_order_desc }} to: {{ text_type_desc }} But this doesnt help solve the problem. I think the whole data from public function getBestSellerProducts is not sending in right way. In original function is used cache.

Jump to post
  • Wed May 08, 2019 5:12 pm
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

I revert my data array to yours. (As I said i'm not real coder)
But I'm pointing you miss " in previous post.
Also in you original first post you wrote:

Code: Select all

{{ text_type_order_desc }}
and few other _order_ which should be:

Code: Select all

{{ text_type_desc }}
At least you declare them in this way in other files.

Jump to post
  • Wed May 08, 2019 5:49 am
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

Hi,

You mean:

Code: Select all

$sql .= " ORDER BY `cs`.`date_added` " . $setting['type_order'];
To:

Code: Select all

$sql .= " ORDER BY `cs`.`date_added` ";
Now only Warning: Illegal string offset 'limit' left.

Jump to post
  • Wed May 08, 2019 5:39 am
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

Hi,
It is the same.
You probably missed that there is also "Warning: Illegal string offset 'limit' "
So the problem probably is in catalog/controller/extension/module/bestseller.php file

Of course I'm not real coder so don't blame me if I'm writing non sense :)

Jump to post
  • Wed May 08, 2019 4:42 am
  • Replies 38
  • Views 925
Re: [v3.x - Concept] - Bestseller extension

Thanks for the note. I actually did change $results = $this->model_catalog_product->getBestSellerProducts($setting['limit']); with $category_id = 0; if (isset($this->request->get['path'])) { $parts = explode('_', (string)$this->request->get['path']); $category_id = (int)array_pop($parts); } $results...

Jump to post
  • Wed May 08, 2019 3:06 am
  • Replies 38
  • Views 925

Search found 36 matches