osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

A tough need to fill HELP!

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-01-2006, 04:48 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default A tough need to fill HELP!

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-02-2006, 06:02 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,982
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: A tough need to fill HELP!

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-02-2006, 06:37 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default RE: A tough need to fill HELP!

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-12-2006, 10:06 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default how to do it....

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-22-2006, 01:09 PM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 298
Thanks: 23
Thanked 35 Times in 34 Posts
Rep Power: 6
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default RE: how to do it....

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-23-2006, 08:36 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 468
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 8
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default RE: how to do it....

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 12:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax