osCmax v2.5 User Manual
Results 1 to 6 of 6

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

      
  1. #1
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    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.

  4. #4
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    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

  5. #5
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    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?

  6. #6
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    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

Similar Threads

  1. adding a fill in form to order of certain items
    By plus766 in forum osCommerce 2.2 Modification Help
    Replies: 10
    Last Post: 09-07-2005, 04:33 AM
  2. Backround image wont fill page
    By acrylictribesmen in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 07-06-2004, 03:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •