mma87 Posted March 16, 2016 Share Posted March 16, 2016 Hi, I need to block the shipping in one specific country if there is one or more products of a specific manufacture in the cart. I add this code in /themes/my-thema/order-carrier.tpl {if isset($products)} {foreach from=$products item=product} {if isset($product.id_manufacturer) & ( $product.id_manufacturer ) = 1 } {else} {/if} {/foreach} {/if} {if $delivery->country == 'France'} <p class="warning">It's not possible to ship in France with the products of this manufacturer</p> {else} but the $products variable don't exist how can I fix this issue? Best Regards, Matteo 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