ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Featured Items to include Not For Sale items too
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Featured Items to include Not For Sale items too

 Post Reply Post Reply
Author
Message
rosamatsas View Drop Down
Newbie
Newbie
Avatar

Joined: 10-November-2009
Location: Brooklyn, NY
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote rosamatsas Quote  Post ReplyReply Direct Link To This Post Topic: Featured Items to include Not For Sale items too
    Posted: 02-April-2014 at 3:21pm
I just can't figure something out.

One the homepage featured section, I need for items marked "Not For Sale" to show up. In our online store, these products can be ordered by phone. I want to customer to see them too. Its a large bulk of our inventory.

I'm thinking i need to adjust the SQL to include items that are flagged as "Not For Sale"  but i can't figure out what i need to remove or add.

Does anyone know how to tweak it?

Thanks in advance


Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 03-April-2014 at 1:59pm

Rosa - in home.asp you will find this code:

'// START v4.1 - Not For Sale override
 if NotForSaleOverride(session("customerCategory"))=1 then
  queryNFSO=""
 else
  queryNFSO="AND formQuantity = 0 "
 end if
'// END v4.1

I have not tested this but I believe if you simply comment out this line, it will give you what you need.

  queryNFSO="AND formQuantity = 0 "

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.