Matt_91 Posted November 30, 2015 Share Posted November 30, 2015 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 More sharing options...
Matt_91 Posted December 22, 2015 Author Share Posted December 22, 2015 Someone can help me? Link to comment Share on other sites More sharing options...
bellini13 Posted December 23, 2015 Share Posted December 23, 2015 you have to locate what controller/class/module is creating the variable $request Link to comment Share on other sites More sharing options...
Matt_91 Posted December 29, 2015 Author Share Posted December 29, 2015 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 More sharing options...
manel10_12 Posted March 25, 2017 Share Posted March 25, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now