What's New
This topic contains 6 replies, has 5 voices, and was last updated by AlSampedro Oct '20.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.
This topic contains 6 replies, has 5 voices, and was last updated by AlSampedro Oct '20.
HI,
Thanks for reporting, I’ve fixed it, will soon release an update. Why you got the problem is that you upgraded your theme to 2.2.7, but didn’t upgrade your prestashop to 1.7.3.
To fix it by yourself, you need to edit the \themes\transformer\templates\checkout\_partials\cart-detailed-actions.tpl file
To replace this code
{$urls.pages.cart}?action=show&checkout
By this one
{if version_compare($sttheme.ps_version,'1.7.3.0','>=')}{$urls.pages.cart}?action=show&checkout{else}{$urls.pages.order}{/if}
1.7.3 uses this {$urls.pages.cart}?action=show&checkout instead to fix a problem of customers be able to check products which are out of stock. So since you’ve upgraded your theme, it’s recommended to upgrade your prestashop to 1.7.3 too.
Regards,
Jonny
Hi, I have the same problems,
but my cart-detailed-actions.tpl file does not contain
{$urls.pages.cart}?action=show&checkout
This is the code:
{block name='cart_detailed_actions'}
<div class="checkout cart-detailed-actions card-block">
{if $cart.minimalPurchaseRequired}
<div class="alert alert-warning" role="alert">
{$cart.minimalPurchaseRequired}
</div>
<div class="text-sm-center">
<button type="button" class="btn btn-primary disabled" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button>
</div>
{elseif empty($cart.products) }
<div class="text-sm-center">
<button type="button" class="btn btn-primary disabled" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button>
</div>
{else}
<div class="text-sm-center">
<a href="{$urls.pages.order}" class="btn btn-primary">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a>
{hook h='displayExpressCheckout'}
</div>
{/if}
</div>
{/block}
What an I to do?
just add
{if version_compare($sttheme.ps_version,'1.7.3.0','>=')}{$urls.pages.cart}?action=show&checkout{else}{$urls.pages.order}{/if}
??
I have 1.7.3.3 version of ps
Thanks and have a nice day
Al
Hi,
@alsampedro We have the policy to verify your orders, could you send me your order ID and username in a private reply so as I can confirm you and help you resolve the problem?
Best regards.
You must be logged in to reply to this topic.