3

All Ajax is working perfectly when we are using secure base url = https or http and unsercure base url = https or http.

When we add secure base url = https and unsecure base url = http. Now we have access store using https, Ajax working perfect. But we are using http, ajax not working.

Thanks in advance.

5
  • 1
    Could you please elaborate "ajax not working" a bit: Did you do some debugging so far? What is the response you get in the developer console that is sent back from your AJAX request? Commented Nov 4, 2014 at 13:07
  • Ajax add to cart is not a standard functionality of Magento. Can you post the code that does this?
    – Marius
    Commented Nov 4, 2014 at 13:07
  • Actually we are using theme. Theme demo url is demo.saharathemes.com/ma_sahara_furniture456/index.php/… In this theme have inbuilt functionality to ajax add to cart.
    – kruti
    Commented Nov 4, 2014 at 13:56
  • Its send error "url is 302 moved temporarily"
    – kruti
    Commented Nov 4, 2014 at 13:58
  • @kruti did you got any solution ? Commented Aug 31, 2015 at 5:43

1 Answer 1

2

In the source code from this theme you point out I can see an option:

<input class="using_ssl" type="hidden" value="0">

Maybe you have to search for a setting in this ajax cart module?

1
  • How we can change this input value.
    – kruti
    Commented Nov 11, 2014 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.