Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Help with BCSE Add Multiple Products mod

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 07-24-2008, 11:11 AM
 
BodyBalance BodyBalance is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 44
 

Default Help with BCSE Add Multiple Products mod

Hi Everyone!

I am currently using BCSE Add Multiple Products mod. I am trying to get it so if a customer is in a certain category, they will be redirected to a different category when they hit "Add to cart"

This is the code I currently have but doesn't seem to work right:

Code:
if ($cat == "1" || $cat == "2" || $cat == "5"){ func_header_location("home.php?cat=3"); } else{ func_header_location("cart.php"); }

this is the original code:
Code:
func_header_location("cart.php");

This code will direct every category to another category instead of cart.php:
Code:
func_header_location("home.php?cat=3");

Anyone have any insight on what I am doing wrong here?
__________________
Version 4.1.9
Reply With Quote
  #2  
Old 07-24-2008, 11:22 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Help with BCSE Add Multiple Products mod

Moving to Third Party Add-Ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:26 AM.

   

 
X-Cart forums © 2001-2020