Jump to content

Carrier Compare module only works if user is logged in


5haun

Recommended Posts

I put the carrier compare module in my own custom hook on a cms page over here:

http://store.audio-visual.co.za/content/1-shipping

 

Thanks too Nemo in this topic:

http://www.prestashop.com/forums/topic/351481-add-carrier-compare-to-cms-page/
 

You will notice I changed a few of the aesthetics to the block but everything works. EXCEPT it only works when a customer is logged in.

 

Is this standard or is something wrong with my code?

Edited by 5haun (see edit history)
Link to comment
Share on other sites

  • 1 month later...

 

Link to your website is not working.

 

And yes think user must be logged in as carrier compare needs customer id 

public static function getCarriersByCountry($id_country, $id_state, $zipcode, $exiting_cart, $id_customer)

Thanks for the response Razaro!

 

The site has moved to here http://home-cinema.co.za

 

Can you please tell me how to change the code so even a guest can use the module?

 

Link to comment
Share on other sites

×
×
  • Create New...