robertbell Posted July 17, 2016 Share Posted July 17, 2016 I want to disable the newsletter subscription form in the footer (CubeCart version 6.0.12). Do I comment out {include file='templates/box.newsletter.php'} in skins/foundation/templates/main.php? Thanks. Quote Link to comment Share on other sites More sharing options...
ayz1 Posted July 17, 2016 Share Posted July 17, 2016 Yes that will do it. Quote Link to comment Share on other sites More sharing options...
robertbell Posted July 17, 2016 Author Share Posted July 17, 2016 Thank you. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 17, 2016 Share Posted July 17, 2016 There are also two locations in the template content.checkout.confirm.php: near line 152 and 38. The customer can also sign up in their Account pages. Quote Link to comment Share on other sites More sharing options...
robertbell Posted July 17, 2016 Author Share Posted July 17, 2016 Thank you. Quote Link to comment Share on other sites More sharing options...
robertbell Posted July 25, 2016 Author Share Posted July 25, 2016 Grepping subscribe, there are hits at lines 37 and 154 of ..\templates\content.checkout.confirm.php. It looks like I can rem out lines 40 and 154. Is that correct? Where do I look for the account page signup? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 26, 2016 Share Posted July 26, 2016 The template content.newsletter.php. However, in the template box.session.php, you can remove the link to the Newsletters page. Quote Link to comment Share on other sites More sharing options...
robertbell Posted July 26, 2016 Author Share Posted July 26, 2016 Remove line 20 in box.session.php? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 26, 2016 Share Posted July 26, 2016 Depending on your skin. Foundation with no other mods is line 20: <li class="text-left"><a href="{$STORE_URL}/index.php?_a=newsletter" title="{$LANG.account.your_subscription}">{$LANG.account.your_subscription}</a></li> Change to: {* <li class="text-left"><a href="{$STORE_URL}/index.php?_a=newsletter" title="{$LANG.account.your_subscription}">{$LANG.account.your_subscription}</a></li> *} This changes the template line to a template comment and won't show in the final HTML. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.