Sign in to follow this  
gpzzone

Commenting out mailing list, language selection and currency **Solved**

Recommended Posts

gpzzone    0

Hi just upgraded to v6  and my tweaked script in which I'd commented out the Mailing list, currency selector and language selector is no longer effective.

Could someone please help me by advising which lines in classes/gui.class.php I need to comment out, my early attempts failed miserably.

I'm trying to remove, Mailing List subscription box, Currency selection box and language selection box.

Thank you in advance.

Craig DAVIES

Edited by gpzzone

Share this post


Link to post
Share on other sites

bsmither    1,212

Please remind us which skin you are/intend to use.

When developing, it is best to have CubeCart not use its internal cache. So, in admin, Store Settings, Advanced tab, disable the Cache. Also, it may help you to have the debug be displayed. So, enable debug mode and enter your IP address in the adjacent field (www.whatismyip.com).

If Mican, then:

Find:

		<div id="boxes">
	   		{$SEARCH_FORM} {$LANGUAGE} {$CURRENCY}
		</div>

Change to:

		<div id="boxes">
	   		{$SEARCH_FORM} {* $LANGUAGE *} {* $CURRENCY *} {* This is a template comment: brace-star-space *}
		</div>

Find:

{$MAIL_LIST}

Change to:

{* $MAIL_LIST *}

 

Share this post


Link to post
Share on other sites
gpzzone    0

All done thank you - just for anyone else's benefit and by way of a conclusion.......

Mican skin

Remove mailing box susbscription by commenting out skins/mican/templates/main.php change line 61 from {$MAIL_LIST} to {* $MAIL_LIST *}

Remove currency and language boxes by commenting out skins/mican/templates/main.php change line 41 to read {$SEARCH_FORM} {* $LANGUAGE *} {* $CURRENCY *}

Thank you once again Bsmither.

Share this post


Link to post
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
Sign in to follow this