Search found 92 matches

Search found 92 matches

Re: SEO link to point to a product AND a specific picture on that product page?

do I add all that code to the product.php? and what line should I add it to? btw I am on oc 3.0.3.2

Jump to post
  • Fri Feb 21, 2020 5:29 am
  • Replies 6
  • Views 191
Re: ⛔ SEO link to point to a product AND a specific picture on that product page?

So wouldn't be easy to do? Reason why I need it is because I sell 1 product that fits many motorcycles so the 1 product will have over a 100 pictures installed on different motorcycles. Most people want to see what it looks like on there bike without having to go though 100 pictures to find how it l...

Jump to post
  • Wed Feb 19, 2020 6:05 am
  • Replies 6
  • Views 191
SEO link to point to a product AND a specific picture on that product page?

Is there any way to make a SEO link which when clicked not only opens up a specific product but opens up a specific picture out of all the pictures available for that product? So say I'm selling a shirt, SEO link is mysite.com/shirt. There is RED, BLUE, BLACK shirt, and 3 pictures, RED, BLUE and BLA...

Jump to post
  • Wed Feb 19, 2020 5:10 am
  • Replies 6
  • Views 191
Re: Redirect a search word directly to a product? maybe via htaccess?

I though it would have been better to put it in htaccess but didn't know how to write it. Above code does work but yea I would prefer not to edit core files if possible to avoid later bugs and errors.

Jump to post
  • Wed Jan 29, 2020 8:03 pm
  • Replies 10
  • Views 585
Re: send email to admin if someone makes a search with 0 items found?

I got ya guys, yea just wanted to see how many no results I get say in a day and it was over a 100 lol so I'm taking the code off for now.. You say "store every single search as a record in the database" OC 3 stores all searches t database, is this to say it could be vulnerable for bots/hackers? And...

Jump to post
  • Wed Jan 29, 2020 7:16 pm
  • Replies 14
  • Views 708
Re: send email to admin if someone makes a search with 0 items found?

totally understand. wonder why no-one made a captcha for the search on opencart to prevent this

Jump to post
  • Sun Jan 26, 2020 4:11 am
  • Replies 14
  • Views 708
send email to admin if someone makes a search with 0 items found?

Trying to send an email to myself anytime someone searches something and the result is "There is no product that matches the search criteria." How can this be done in the controller? New to php but can this be modified to work? if ($search == '') { $to_email = 'NoSearchFound@gmailcom'; $subject = 'z...

Jump to post
  • Sat Jan 25, 2020 10:15 pm
  • Replies 14
  • Views 708
Re: Redirect a search word directly to a product? maybe via htaccess?

Hey one other nubbie php question, how can I rewrite the code below to send blue ball to any URL even if not on my site? if ($search == 'blue ball') { $this->response->redirect($this->url->link('product/product', 'product_id=42')); } PS i just tired and it works, not sure if its the best or proper w...

Jump to post
  • Sat Jan 25, 2020 9:39 pm
  • Replies 10
  • Views 585
Redirect a search word directly to a product? maybe via htaccess?

Is does anyone know who to redirect a certain search directly to a product via htaccess? So say someone searches Blue Ball search would look like this:

example.com/index.php?route=product/search&search=blue%20ball
NOW redirect that to: example.com/blueball

Jump to post
  • Sat Jan 25, 2020 8:21 pm
  • Replies 10
  • Views 585
Re: ⛔ any way to avoid duplicate logged customer searches in oc3* under reports->reports->customer searches?

I get bots now doing many searches for example for keyword "image". This results in a bunch on searches in my customer searches reporting.

It would make more sense if the keywords "image" only appeared once my DB instead of 200 different times like now

Jump to post
  • Tue Jan 14, 2020 8:54 pm
  • Replies 5
  • Views 178
⛔ any way to avoid duplicate logged customer searches in oc3* under reports->reports->customer searches?

Is there any way to prevent duplicate searches under: reports->reports->customer searchers reports? I had an extension in oc2 that logged them but it did not save duplicates. It would state how many times that search keyword was searched and it would update the date when it was last searched. Was wo...

Jump to post
  • Tue Jan 14, 2020 11:38 am
  • Replies 5
  • Views 178
Re: [SOLVED - v3.0.3.1 - Fix] - PayPal Express Checkout

Am I doing something wrong or are there no options in this updated PP Express extension to change Payment with "Credit Card or Debit Card" ON or OFF, option to turn OFF "PayPal Credit Payment", and change Buttons Size, Shape, and Color?

Jump to post
  • Sat Jan 11, 2020 12:02 am
  • Replies 151
  • Views 25487
Re: OC 3.0.3.2 PHP Warning: A non-numeric value encountered system/library/cart/currency.php on line 69

Oh ok yea I already reverted back to the original code in the currency.php file we change at the top of the thread. I will report back if the error shows up again

Again thanks for all your guys help.
Love seeing this forum alive 😊

Jump to post
  • Fri Jan 10, 2020 11:31 am
  • Replies 21
  • Views 564
Re: oc3.0.3.2 reports -> customer searches reports, pages missing, not correct items shown per page

Never mind, just edited: admin/controller/extension/report/customer_search.php change 2 number 20 into 2 number 500 that way you get 500 searches showing per page

Jump to post
  • Fri Jan 10, 2020 11:29 am
  • Replies 1
  • Views 101
Re: OC 3.0.3.2 PHP Warning: A non-numeric value encountered system/library/cart/currency.php on line 69

sw!tch wrote:
Fri Jan 10, 2020 11:16 am
See my revised post. Its just one bracket
Awesome thanks, its seems to work perfect. I hope I never see that darn error ever again.

One other question, what do you mean by: "Also you may need to restore you currency class changes"

Jump to post
  • Fri Jan 10, 2020 11:21 am
  • Replies 21
  • Views 564
Re: OC 3.0.3.2 PHP Warning: A non-numeric value encountered system/library/cart/currency.php on line 69

I also think a opencart spam bot might be hitting my voucher page since it can't be turned OFF in extensions completely. The code you guys suggested above, one code has 1 "{" at the end and the other code has 2 "{ {" at the end, which is correct? To me it looks like 1 "{" but I'm pretty bad at coding

Jump to post
  • Fri Jan 10, 2020 10:58 am
  • Replies 21
  • Views 564

Search found 92 matches