Jump to content

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


gpzzone

Recommended Posts

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
Link to comment
Share on other sites

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 *}

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...