Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Redirect To A Page In A Controller? Rate Topic   - - - - -

 

Posted 11 March 2014 - 05:13 AM #1

Hello guys, I am new to CSCART and I amy having a trouble in redirecting the page. I have a button name as 'register'. But After clicking the link it goes to 404 message. How can I create a simple redirection of page? For example if the user click the register the page will automatically redurected to google.com or any other site.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20784 posts

Posted 11 March 2014 - 06:12 AM #2

Hi,

As far as I understand you want to make a button with the redirect to the external website. In this case please try the following code:

{include file="buttons/button.tpl" but_href="http://google.com" but_text=__('register')}

Thanks.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)