Jump to content

Ssl In Product Sort


Matt_91

Recommended Posts

Hello. I am forcing all my store to SSL , but in product categories are http elements. The last thing left for me to solve is product sort . The URL is generated through this:

 

action="{$request|escape:'htmlall':'UTF-8'}"

 

How I could transform it into ssl ?

Best regards,

 

 
How I could transform it into ssl ?How I could transform it into ssl ?
Best regards,

Best rega

 

 

 
How I could transform it into ssl ?
Best regards,

 

 

Link to comment
Share on other sites

  • 4 weeks later...

This is the code:

 

<!-- Pagination -->
<div id="pagination{if isset($paginationId)}_{$paginationId}{/if}" class="pagination">
{if $start!=$stop}
<ul class="pagination">
{if $p != 1}
{assign var='p_previous' value=$p-1}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="pagination_previous"><a {$no_follow_text} href="{$link->goPage($requestPage, $p_previous)}">« {l s='Previous'}</a></li>
{else}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId}{/if}" class="disabled pagination_previous"><span>« {l s='Previous'}</span></li>
{/if}
Link to comment
Share on other sites

  • 1 year later...

Hi,

a not clean solution is to replace it in smarty, for example what I did is:

 

{if !isset($request)}
<!-- Sort products -->
{if isset($smarty.get.id_category) && $smarty.get.id_category}
{assign var='request' value=$link->getPaginationLink('category', $category, false, true)|replace:"http:":"https:"}
{elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer}
{assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)|replace:"http:":"https:"}
{elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier}
{assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)|replace:"http:":"https:"}
{else}
{assign var='request' value=$link->getPaginationLink(false, false, false, true)|replace:"http:":"https:"}
{/if}
{else}
{assign var='request' value=$request|replace:"http:":"https:"}
{/if}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...