X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Terms and Conditions show after user logs in (https://forum.x-cart.com/showthread.php?t=7166)

mjr 04-15-2004 09:50 AM

Terms and Conditions show after user logs in
 
Hi,

Is there a way to have the Terms and Conditions only show up after a user logs in?

X-Cart version 3.5.3
Thanks in advance
Mitch

B00MER 04-15-2004 11:39 AM

Edit include/login.php:

find:
Code:

                if ($login_type=="C") {
                        if(!func_is_cart_empty($cart))
                                func_header_location($redirect_to."/cart.php");
                        else
                                func_header_location($redirect_to."/home.php");
                }


And make proper adjustments to redirect to help.php?section=business

;)

mjr 04-15-2004 12:21 PM

Thanks for the answerБ─╕but I am not so sure what you mean by

And make proper adjustments to redirect to help.php?section=business

Can you please advise more...

Thank you so much in advance

Regards,
Mitch

B00MER 04-15-2004 01:07 PM

Code:

      if ($login_type=="C") {
        if(!func_is_cart_empty($cart))
            func_header_location($redirect_to."/help.php?section=conditions");
        else
            func_header_location($redirect_to."/help.php?section=conditions");
      }


mjr 04-15-2004 01:58 PM

Hi,

I tried this and it is not exactly what IБ─≥m looking forБ─╕

Only want register users to be able to click the Terms & Condition linkБ─╕.
DonБ─≥t want the Term & Conditions link on the home page to show until a customer logs inБ─╕.Is there a way to do this?

Regards,
Mitch


All times are GMT -8. The time now is 03:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.