Jump to content

 

ExtremeCreations

Member Since 06 Aug 2009
Offline Last Active Oct 20 2017 08:39 AM
-----

Posts I've Made

In Topic: Force Https On For Cs Cart Version 2.0.12

11 November 2016 - 09:37 AM

Nevermind it looks like it now accepts htaccess rewrites so I've used

 

RewriteCond %{HTTPS} !on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.your_domain.com/$1[R=301,L]

In Topic: Force Https On For Cs Cart Version 2.0.12

11 November 2016 - 09:34 AM

It appears that this method 302s the content, does anyone know how I change this to 301? (cs cart version 2)


In Topic: Force Https On For Cs Cart Version 2.0.12

11 November 2016 - 09:09 AM

Many thanks John!


In Topic: Help Using Hooks In Custom Addon

06 October 2016 - 08:35 AM

Thank you guys, after all that, it appears that I was using the incorrect hook!

 

I was expecting "update_order" to fire when I changed the status of the order on the order listing page.

 

Turns out "update_order" will only fire if you go into an order, click the "edit order" link, then save!

 

The hook that appears to fire in every situation that you expect is "change_order_status".


In Topic: Help Using Hooks In Custom Addon

26 September 2016 - 08:19 AM

Thanks for getting back to me both,

 

I've removed the die, though unfortunately that did not reveal anything in the browser's inspector network tab.

 

On the add to cart function I have looking in the network table, the add to cart returns a POST request, which contains the markup for the entire webpage, but, my var_dump does not exists!

 

On the update order I look in the network tab, and, all I get is a POST request which contains JSON data:

https://www.dropbox.....18.34.png?dl=0

 

I still cannot get any information back. Any further ideas?