Jump to content

How Do I Copy The Logic From Blockcart To Blocknewsletter


Recommended Posts

blockcart coding:

{if isset($blockcart_top) && $blockcart_top}
<div class="col-sm-4 clearfix{if $PS_CATALOG_MODE} header_user_catalog{/if}">
{/if}

 

blocknewsletter coding (my attempt):

{if isset($blocknewsletter_top) && $blocknewsletter_top}
<div id="newsletter_block_left" class="col-md-4">
{/if}

<div id="newsletter_block_left" class="block">

 

I am trying to apply the class="col-md-4" if the Newsletter module is next to the cart (which it is). However, it is writing out class="block" even though I have the above coding in the blocknewsletter.tpl file.

 

Why is this?

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...