title: How to change http to https in Prestashop 1.6 add cart
body: <p>I enabled SSL on my Prestashop 1.6:</p>
  
  <pre><code>Preferences &gt; General &gt; Enable SSL
  Preferences &gt; General &gt; Enable SSL on all pages
  </code></pre>
  
  <p>In .htaccess I used a following code:</p>
  
  <pre><code>RewriteCond %{HTTPS} off
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  </code></pre>
  
  <p>before</p>
  
  <pre><code># ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
  </code></pre>
  
  <p>Everything looks fine but in view page source of website still I see:</p>
  
  <pre><code>&lt;a class="button ajax_add_to_cart_button btn btn-default" href="http://www.myeshop.com/cart?add=1&amp;amp;id_product=9&amp;amp;token=2db68311c3192a52b4eca5bc1b2c218f" rel="nofollow" title="Add to cart" data-id-product="9"&gt; &lt;span&gt;Add to cart&lt;/span&gt; &lt;/a&gt;
  </code></pre>
  
  <p>A href link in <em>Add to cart</em> button directs to http instead https.
  Can you help me please?
  Regards
  Jan</p>