we added secure url to entire site by follwoing this link :

site not loading properly after adding ssl certificate

than we added secure url https to cart page by following link :


i added following code in config.xml [ http://pastebin.com/HaLDM4Qn ]


after this add to cart button is not working .

please check the site :


i followed this link :


but i did't got what code need to be edited for our theme.

this is our view.phtml :


  • 1
    For you add to cart post or get request might be going through yourdomain.com..... Change it to https:// it will work for you. – Mukesh Aug 27 '15 at 12:53
  • yes, its working with htttps but not with http, but our client dont want https on product page. – Baby in Magento Aug 27 '15 at 12:56
  • 1
    Then based on the http:// or https:// on your page you have to make the add to cart link dynamic. If you can provide the code in your question, you may get help. – Mukesh Aug 27 '15 at 13:02
  • please check the updated question. – Baby in Magento Aug 27 '15 at 13:06
  • This is blocked in my organisation – Mukesh Aug 27 '15 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.