Search found 17 matches

Page 1 of 1

Search found 17 matches

One-time coupon for newsletter signup?

Hey, anyone can help me with following? We want to setup something like this: 1. A customer (not logged in) signs up for our newsletter through a popup-window. 2. This customer receives an email with a coupon with -10% discount on his first purchase. Now I see the following problems: We use about 99...

Jump to post
  • Sat Jun 02, 2018 4:50 am
  • Replies 1
  • Views 113
Re: High MySQL load

thekrotek wrote:
Thu May 31, 2018 7:02 am
This is the part when you contact your hosting provider.
Actually it wasn't even their fault. I changed the table structure to innodb and added indexes for some reason the load decreased dramatically.

Jump to post
  • Fri Jun 01, 2018 12:43 am
  • Replies 2
  • Views 287
High MySQL load

Hello! I have a problem with high server response times (TTFB). I suspect it is because of high MySQL cpu load but I am not sure. Can someone help me analyze this SSH htop situtation: https://aspolo.ua/test.jpg Basically we have a mysql connection for 275 hours that is not closing and creating up to...

Jump to post
  • Wed May 30, 2018 11:49 pm
  • Replies 2
  • Views 287
Show option values on category page

Hello there, I have a question. I want to show options and their values on the category page. Something like that: https://aspolo.ua/testimg.png Where "sizes" is an option and "41,42,43,44,45" are the corresponding option values. Also i want to display stock status right in there. I have seen some m...

Jump to post
  • Tue May 15, 2018 9:52 pm
  • Replies 4
  • Views 453
Re: Display custom link on product page?

Only in this one place. Line 329 and 330. It is roughly the place I need it to show on my frontend. Sorry I'm a noob, I have no idea what you mean. :( EDIT: I got it now, you were right I added it in the wrong place. It must be under the paragraph defining "SELECT" as this option is a SELECT. Thanks...

Jump to post
  • Mon Dec 18, 2017 3:17 am
  • Replies 10
  • Views 387
Re: Display custom link on product page?

straightlight wrote:
Mon Dec 18, 2017 3:08 am
Good. Now, from which option type in product.tpl file are you adding this code?
"Size" is a Select, "Color" is a Radio. Or I didn't understand the question. :(

Jump to post
  • Mon Dec 18, 2017 3:11 am
  • Replies 10
  • Views 387
Re: Display custom link on product page?

Hi, you use not right logical operation. you should use OR (||) instead AND (&&). I assume you need to show when option are size or color o both. like this: <?php if ($option['name'] == 'Size' || $option['name'] == 'Color') { ?> <?php echo '<a href="https://........">Link Text</a><br></br>'; ?> <?p...

Jump to post
  • Mon Dec 18, 2017 2:58 am
  • Replies 10
  • Views 387
Display custom link on product page?

Hey there, I have a question. I want to add a custom link on my product page for some products (not all). This link hast to show up if a product has a certain option. For example: The product is a woman's dress. This is the code I came up with myself: <?php if ($option['name'] == 'Size') { ?> <?php ...

Jump to post
  • Mon Dec 18, 2017 2:31 am
  • Replies 10
  • Views 387
Gzip compression

Hey there, I have a question concerning gzip compression for my 2.3.0.2 shop. I want to activate it, but I'm not sure if it will do anything at all and if it will not destroy my css files. I had some problems in the past with uncorrectly "compressed" css files. So my question is, is it save to turn ...

Jump to post
  • Sun Jul 23, 2017 5:22 pm
  • Replies 3
  • Views 781
Image cache folder is laggy?

Hey there lately we have following problem. Our shop has about 2000 products with 5-6 images each. The max image size is about 100kb for the full version (800x800px) Still, since about 1 week the image/cache/catalog/ folder is totally laggy. I even can't open in propably in FTP and even the file man...

Jump to post
  • Thu Jul 20, 2017 7:06 pm
  • Replies 1
  • Views 225
Re: Change related products order?`

Thank you, this works great, you really helped me! :)

Jump to post
  • Thu Jul 13, 2017 10:32 pm
  • Replies 4
  • Views 539
Change related products order?`

Hello :D I wanted to know how to change the default sort order of related products on the product page? By default the product with the lowest product id is displayed first, and the one with the highest last. I want to revert it, so the related product with the highest product id (the newest product...

Jump to post
  • Thu Jul 13, 2017 5:48 pm
  • Replies 4
  • Views 539
How to "dublicate" an input field in checkout page and make it check for similar input?

Hey, the situation is the following: We use guest checkout without registration and the most important value for us is the phone number of the customer (so we can callback). The problem is, people sometimes make typos and we cannot fullfil the order. What I would like to do is add a second phone num...

Jump to post
  • Thu Feb 16, 2017 9:05 pm
  • Replies 3
  • Views 867
Display latest products in category page.

Hi folks, I wanted to change the order the products are displayed on the category page. I read a post where it says you have to change: catalog/controller/product/category.php. Replace $sort = 'p.sort_order'; with $sort = 'p.date_added'; and so on. Here is the post: https://forum.opencart.com/viewto...

Jump to post
  • Tue Nov 29, 2016 7:56 pm
  • Replies 2
  • Views 1405
Accordion filters for opencart 2.3

Hi there, can somebody please help me. I have setup a page: http://aspolo.com/index.php?route=product/category&path=76&sort=p.date_added&order=DESC Everything looks like I wanted it, the only problem is, as I have to many filters (whicht I need), the left menu has become too long. A solution would b...

Jump to post
  • Sun Nov 20, 2016 12:55 am
  • Replies 0
  • Views 550

Page 1 of 1

Search found 17 matches