1

I am running Magento, with Google Search - and its setup in the header of every page and works perfectly, except on the one page checkout page - because its an SSL page, and the search box sends results to an unsecure page. I need to make the code send the results to a secure page. This is the code in form.mini.phtml that sends:

<form id="search_mini_form" action="<?php echo Mage::helper('cms/page')->getPageUrl( searchresults ) ?>" method="get">

Its calling for page "Searchresults". How can i get it to call the HTTPS version?

1 Answer 1

1

I found an answer finally - you need to add a secure array to the form id, as follows:

<form id="search_mini_form" action="<?php echo Mage::getUrl('searchresults',array('_secure'=>true)); ?>" method="get">

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.