If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Excluding gift certificates in new products listing

Excluding gift certificates in new products listing

Locked

Started by steven300 on 4 Mar 2008, 4:52 PM · Views: 1,151

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Mar 2008, 5:05 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Excluding gift certificates in new products listing

You could apply an "IF" condition (though don't ask me how to code it!) in the includes/modules/new_products.php file.

This IF condition could say:-

"If the category ID is not equal to the category ID for Gift Certificates, then go ahead and display what else there is to display..."

It's just a single like of code, I'm sure, but I don't know php from vanilla fudge. :dontgetit

20 years a Zencart User

4 Mar 2008, 5:10 PM
#3
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Excluding gift certificates in new products listing

schoolboy:

You could apply an "IF" condition (though don't ask me how to code it!) in the includes/modules/new_products.php file.

This IF condition could say:-

"If the category ID is not equal to the category ID for Gift Certificates, then go ahead and display what else there is to display..."

It's just a single like of code, I'm sure, but I don't know php from vanilla fudge. :dontgetit

hmm.. I was hoping there would be something in admin I could change. I'm not too good with PHP either. I think I'll just move onto my next prob.

4 Mar 2008, 6:09 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Excluding gift certificates in new products listing

Perhaps we can gently nudge DrByte to lend a hand... :yes:

20 years a Zencart User