View Single Post
  #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