This is a discussion on A tough need to fill HELP! within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I have a wholesale site coming along nicely. I am using the call for price mod which I changed to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have a wholesale site coming along nicely. I am using the call for price mod which I changed to log in for price to keep the prices only viewable by the retailers purchasing wholesale and not the public. However some items we sell by gram and prices shown would be approximate and I would have to place what the per gram price is in the description so the retailer would know what they are paying per gram for the items. This would be viewable by the public which we do not want. Any ideas on a workaround. Maybe a link to current per gram prices that does not show until they log in or something? Any suggestions will be appreciated. Please THANK YOU IN ADVANCE |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| You could use a php include on the actual product page that shows the per-gram price and explanation. Or you could put it in the category description. Either way, they cannot be seen until the person is logged in.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Michael: Thank you for your response. I did put it in the category description but that shows before they log in. The only thing that is hidden with the call for price mod is the price. Everything else is visible. Did I miss something on that mod? Or is there a way to hide the description before they log in? Thank you in advance. |
|
#4
| |||
| |||
| When you added the call for price module it activated (or you had to add) an if-then-else around the "price" on the product_info.tpl.php . All you do is take the if-then-else code for the call for price and add it in the "description area" (more on the product_info.tpl.php later). Then you add a new field to the product_description table called product_desc_pricing. Then you add a new field to the admin/categories.php to add the product_desc_pricing text to the product (and insert it to the product_description table). Finally, return to product_info.tpl.php. Add the product_desc_pricing to the query for the product description and then add the display of that inside the if-then-else code that you placed in the description area. This will add 1 field to the product_description table This will add 1 new field to the admin/categories.php This will add the additional description display to the product_info pages only when they can see the price. so endith the lesson |
|
#5
| |||
| |||
| Thank you but it is actually the product listing page. I have my quantity boxes on that page and it would be the category description that I would need to hide. Think it would be the same? |
|
#6
| |||
| |||
| more or less. The key is to use the same if-then-else constructs to allow or disallow display of the new item.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adding a fill in form to order of certain items | plus766 | osCommerce 2.2 Modification Help | 10 | 09-07-2005 05:33 AM |
| Backround image wont fill page | acrylictribesmen | osCMax v1.7 Discussion | 4 | 07-06-2004 04:42 AM |