Search found 44 matches

Search found 44 matches

Wildcard Event Trigger include default index method?

Hello Gang, I am setting up a before event that needs to trigger for every method in a class including the default index method. class @ /catalog/product/quote.php <?php class ControllerCatalogProductQuote extends Controller { public function index() { } public function other() { } public function a...

Jump to post
  • Thu Apr 26, 2018 6:28 pm
  • Replies 0
  • Views 373
Re: Migrate from Zencart1.5.0 to OC2.3.0.2 - Import problems

Hey Mac, It's not just the salt - I don't know ZenCart that well but I would imagine its password hashing algorithm is completely different to OpenCarts. You could implement the zencart password algorithm into opencart (which we did with a magento migration) but to be honest depending on how many cu...

Jump to post
  • Mon Jan 22, 2018 7:54 pm
  • Replies 2
  • Views 266
Re: Signature hash does not match - marketplace API

One gotcha to be aware of is when you register your store's domain name for the API Keys on opencart do not include the http:// or https://

So for example, if your domain is https://www.coolstore.com only register www.coolstore.com with opencart.

This had us chasing our tails for a while!

Jump to post
  • Tue Jan 16, 2018 1:30 am
  • Replies 23
  • Views 13022
Re: Paypal IPN callback changes?

Paypal pro doesn't use the IPN it uses the legacy nvp api (which is https) , standard paypal does but as ADD says it is already configured for https in opencart 2. More importantly, make sure your host supports TLS 1.2 - that goes for pretty much all payment gateways next year. On linux you can test...

Jump to post
  • Fri Dec 22, 2017 6:38 pm
  • Replies 4
  • Views 1099
Re: Sagepay extension for Opencart 3.0.2.0

If you use sagepay server without the storage of credit cards - that is the equivalent of the old sagepay v3 form integration.

Storing cards and using Sagepay Direct - require tighter PCI compliance above just a https certificate.

Jump to post
  • Fri Dec 15, 2017 8:05 pm
  • Replies 3
  • Views 1621
Re: Multistore not working

You need the trailing slash on the second store url..

http://show.schuitemandev.nl/

Jump to post
  • Fri Dec 15, 2017 8:00 pm
  • Replies 5
  • Views 864
Re: font-awesome not loading in upgraded 3.0.2.0 OC store, no obvious errors

I see this error in Chrome when trying to view your store.. Failed to decode downloaded font: http://test.jwestlake.com/catalog/view/javascript/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 OTS parsing error: invalid version tag If I try to navigate to that link to download the font I get you...

Jump to post
  • Tue Dec 05, 2017 8:46 pm
  • Replies 7
  • Views 996
Re: Best Practice for order statuses in System > Settings > Option

Hey Jon, My understanding of these settings are as follows; Order Status = The status an order should go into if picked up by opencart fraud rules (blacklist etc) Processing = Any status that should deduct stock / add reward points etc.. Complete = Any status that should confirm downloadable product...

Jump to post
  • Thu Nov 30, 2017 7:29 am
  • Replies 2
  • Views 367
Re: Help: change order status missing order to pending

There is no way to do what you want in standard configuration.. an order is created with a status of 0 - which is what the missing order filter looks for. Only once the payment gateway logic has been applied does the order then move to a positive order_status_id as defined by the gateway configurati...

Jump to post
  • Thu Nov 30, 2017 7:10 am
  • Replies 2
  • Views 480
Re: Help:Can't Change Order Status

If all you want to do is change the status of the order - then do so via view order rather than edit order.

Order edit is full of bugs and also is intrusive to the customer in adding products back into their cart while you make changes.

Jump to post
  • Thu Nov 30, 2017 7:01 am
  • Replies 7
  • Views 848
Re: Admin menus showing on manufacturer page

You probably just have the account module setup on the manufacturer layout.

Look at Design -> Layouts -> Edit the manufacturer layout and remove the account module wherever it is setup.. from your screenshot it looks like Column Top.

Jump to post
  • Thu Nov 30, 2017 6:57 am
  • Replies 7
  • Views 472
Re: Alert options missing

In opencart 2.3.0.2 - you setup mail alerts from the mail tab. There is a checkbox under the main mail details form.

Jump to post
  • Fri Nov 24, 2017 8:33 pm
  • Replies 4
  • Views 645
Re: trigger event after customer login

This after event will never fire when a customer logs in because the last action on the controller is a redirect back to account/account after a successful login - so it never returns to the router to trigger the after event. Unfortunately, I don't think there is any event you can hook into which wo...

Jump to post
  • Thu Nov 09, 2017 8:13 am
  • Replies 12
  • Views 1437
Re: Showing OC version with set_error_handler

Using PHP 7 goes some way to reducing the confusion as to where errors are happening as every error is an exception with a full stack trace...

We also add https://github.com/filp/whoops to all of our development environments as so to help us step through those traces faster than scanning log files.

Jump to post
  • Mon Oct 02, 2017 4:40 am
  • Replies 4
  • Views 998
Re: Use Opencart Database Object in another script?

You can do this, we did the same thing for a product import script. The key thing is the autoloader found in startup.php function library($class) { $file = DIR_SYSTEM . 'library/' . str_replace('\\', '/', strtolower($class)) . '.php'; if (is_file($file)) { include_once($file); return true; } else { ...

Jump to post
  • Fri Sep 29, 2017 12:12 am
  • Replies 4
  • Views 4331
Re: Can't Call The Method $this->cart->clear();

The cart library is not loaded into the registry in the admin application, you should use the API as you mention to interact with a customers cart from the admin panel.

Jump to post
  • Sun Sep 03, 2017 5:13 pm
  • Replies 2
  • Views 536
Re: system/storage move

Hey, 1 - in some server configurations permissions restrict the deletion of the /system/storage folder once it has been moved. You can delete it manually once you confirm the config file has been updated correctly to point to the new storage folder under public_html 2 - Yes by default you would end ...

Jump to post
  • Thu Aug 10, 2017 5:55 pm
  • Replies 4
  • Views 3144
Re: Editing of ocmod files

For development, you can just upload a *.ocmod.xml file to the system directory of opencart. It will by default read all of the ocmod.xmls from that directory when you hit the modification refresh button. Once you have finished development you can then package up into a zip for correct install via t...

Jump to post
  • Thu Aug 10, 2017 5:49 pm
  • Replies 9
  • Views 2029
Re: Help! Updated to PHP5.4 and now site no longer working

You need the mysqli.php file if you are setting your database as mysqli in config.php

If you dont have it then you can create it copying the content of the file from here

https://github.com/opencart/opencart/bl ... mysqli.php

Jump to post
  • Thu Aug 10, 2017 5:45 pm
  • Replies 4
  • Views 519
Re: How to setup redis cache in Opencart 2.3

There is not much detail in the commit that added this cache, but looking at the code I would assume you need the Predis PHP extension installed to make this work.

https://github.com/phpredis/phpredis

Jump to post
  • Tue Jul 25, 2017 4:50 pm
  • Replies 6
  • Views 2133

Search found 44 matches