Search found 138 matches

Search found 138 matches

Anyone any good at converting a super simple OC2 ocmod to OC3?

Been trying to convert this simple smarter 404 oc2 vQmod to oc3 OCmod, did most of the stuff but doesn't seem to work. Can anyone help? <modification> <name>Smart 404 search</name> <version>1.1</version> <author>opecart.com</author> <link>opencart.com</link> <code>smart404search</code> <description>...

Jump to post
  • Sat Apr 18, 2020 9:29 am
  • Replies 5
  • Views 363
Re: Could someone explain ocmod.log to a newbee a bit?

Thanks for clarifying.

So if am reading the ocmod.log, how do I tell what is an error and what is just normal operation? I wanted to make sure I don't have any errors since I have a lot of ocmods loaded.

Jump to post
  • Wed Apr 15, 2020 8:44 am
  • Replies 3
  • Views 201
Could someone explain ocmod.log to a newbee a bit?

Hi I am trying to make sense of the ocmod.log. Sorry if these are dumb newbee questions.... I was under the impression that if I clear the ocmod.log the log should stay clean until I click the REFRESH button under modifications or am I wrong? Also when I click the refresh button ocmod.log get filled...

Jump to post
  • Fri Apr 10, 2020 7:56 am
  • Replies 3
  • Views 201
Re: SEO link to point to a product AND a specific picture on that product page?

Yup you guys are right, just needed it to send it to the image source not image catch.

This is a pretty cool ocmod for anyone selling 1 or just a few products on their OC site. I'm be suppressed if more people don't install it.

Jump to post
  • Tue Feb 25, 2020 3:12 am
  • Replies 17
  • Views 988
Re: SEO link to point to a product AND a specific picture on that product page?

Just tested this and it doesn't seem to work. I'm going to a link structured like this: mysite.com/index.php?route=product/product&product_id=50&image=product-image-3-500x300.jpg Do I just add the image name after the "&image=" ? PS in the DESIGN -> SEO_URL I added query: product-image-3-500x300.jpg...

Jump to post
  • Mon Feb 24, 2020 6:07 am
  • Replies 17
  • Views 988
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 17
  • Views 988
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 17
  • Views 988
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 17
  • Views 988
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 11
  • Views 1167
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 1005
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 1005
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 1005
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 11
  • Views 1167
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 11
  • Views 1167
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 324

Search found 138 matches