View Single Post
  #4  
Old 05-02-2007, 02:22 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 481
 

Default Re: Can you pass POST vars through CDSEO (mod_rewrite)?

You are correct. I was forgetting the / after the category. Thanks!

I'm not sure why I thought mod_rewrite was in use.... sorry!




So I'm trying to override and add to the 'hidden but available for sale' concept. I need to hide a certain product type unless the customer enters their email address. Then we have to send them an email with a link to the hidden but available products.

So my link that I use is www.yourstore.com/somecdseocat/?hbafs=1 (where if hbafs is set, I change the search query in products.php and search.php to

Code:
if( $hbafs ) $search_data["products"]["forsale"] = "H";


This works for the direct link but the additional category pages lose the POST data of ?hbafs=1. Now I'm sure this isn't an CDSEO thing....

My additional pages look like this

www.yourstore.com/somecdseocat/index1.html
www.yourstore.com/somecdseocat/index2.html
www.yourstore.com/somecdseocat/index3.html

instead of

www.yourstore.com/somecdseocat/index1.html?hbafs=1
www.yourstore.com/somecdseocat/index2.html?hbafs=1
www.yourstore.com/somecdseocat/index3.html?hbafs=1
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote