Support Forums

Hide Package on Pricing Module

This is a discussion on Hide Package on Pricing Module within the TemplateCodes forums, part of the Third Party Support category; Is there a way to hide a package from appearing on the pricing module page (modules.php?mod=prices)? I have some packages ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

This topic is closed.

This topic is closed to new replies.

 
Thread Tools Display Modes
Old 05-16-2010, 04:59 PM   #1
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 9
metrony is on a distinguished road
Default Hide Package on Pricing Module

Is there a way to hide a package from appearing on the pricing module page (modules.php?mod=prices)? I have some packages that will only be available to a specific user group and I don't want them to appear to everyone.

Thanks.
__________________
Metro New York Apartments
Apartment listings for the Metro New York Area
metrony is offline  
Old 05-16-2010, 05:47 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,457
Rep Power: 88
seymourjames is a jewel in the rough
Default

You would need to modify the prices module as there is no built in functionality to do this. Put in a test for the productID around where it displays the packages.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now  
Old 05-16-2010, 07:14 PM   #3
Customer
 
Join Date: Jan 2010
Posts: 70
Rep Power: 9
metrony is on a distinguished road
Default

Thanks for letting me know to look at the product id. I was able to follow your code on how you pulled in the other product fields and just put some conditional logic in the loop.

If anyone wants the code to exclude a specific product from the ad prices page just enter the following directly above <div class="prices"> in prices.tpl

{if $results[numloop].pID <> 6}

Where 6 is the product id I didn't want to include (I had to look in the database to find the product id). Also remember to close the condition {/if} right after the </div>.
__________________
Metro New York Apartments
Apartment listings for the Metro New York Area
metrony is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
All Pricing Module seymourjames Modification Release 0 01-15-2010 05:40 PM
All Pricing Module seymourjames Modification Release 0 11-04-2009 12:00 PM
package pricing redstar Technical Support 1 10-25-2009 08:14 PM
Fluid Template (Pricing Module Workflow) seymourjames TemplateCodes 0 07-16-2009 11:52 AM


All times are GMT -4. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0