Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Hide Products for SPPC

This is a discussion on Hide Products for SPPC within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I managed to implement the code changes, there were a couple of silly bugs where their sql overwrote existing oscmax ...

      
  1. #11
    Member mfleeson's Avatar
    Join Date
    Aug 2004
    Location
    Lindisfarne, UK
    Posts
    40
    Rep Power
    0


    Default Re: Hide Products for SPPC

    I managed to implement the code changes, there were a couple of silly bugs where their sql overwrote existing oscmax code but although I can tell it to hide products, they still appear on the site.

    Looks like I need to do a clean install and try again.

    The main thing in implementing it is the instructions don't account for some logic being in the templates and some in the main php code so for things like catalog/categories.php, if you cannot find the code in the main file, look in your templates.

    Good luck

    Mark

  2. #12
    New Member
    Join Date
    Aug 2008
    Posts
    10
    Rep Power
    0


    Default Re: Hide Products for SPPC

    Well Mark,
    You have made more progress than I have. Did you find what parts of the code were being problematic? I'm keen to get this working, but have had to use osCommerce with this patch installed as a temporary arrangement, which is causing me heartache elsewhere.

    Can you send me a copy of your code and I'll see if I can work out the bugs?

    Thanks!
    Steve.

  3. #13
    Member mfleeson's Avatar
    Join Date
    Aug 2004
    Location
    Lindisfarne, UK
    Posts
    40
    Rep Power
    0


    Default Re: Hide Products for SPPC

    Hi Steve

    I never did get this working. What I did instead was to add code to hide categories/products from the site if the user was not part of a selected group. I can zip the code up for you to look at if you like. I'm going to be doing some work on the site over the next day or two so if I can find the exact code I'll try and document it.

    Mark

  4. #14
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Hide Products for SPPC

    Quote Originally Posted by mfleeson View Post
    I managed to implement the code changes, there were a couple of silly bugs where their sql overwrote existing oscmax code but although I can tell it to hide products, they still appear on the site.
    ....
    Never blindly overwrite code in osCMax - if you have code conflict - feal free to post it here and we can carefully look at that. Combining differnt SQL command from several mods is not easy.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #15
    Member mfleeson's Avatar
    Join Date
    Aug 2004
    Location
    Lindisfarne, UK
    Posts
    40
    Rep Power
    0


    Default Re: Hide Products for SPPC

    JPF.
    I write in php daily. My oscmax site has many extras. When I upgraded last time I ran visual diff on every file and ported my changes forward. The problem is that the spcc mod is for oscommerce not oscmax.
    I don't overwrite code, I usually comment out what's there in marked blocks and then write mods.

    Mark

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Hide products from customer groups for SPPC
    By michael_s in forum New osCommerce Contributions
    Replies: 1
    Last Post: 08-18-2008, 05:50 AM
  2. Hide Categories & Products V1
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-17-2008, 11:13 AM
  3. Hide Categories & Products V1
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 04-27-2008, 10:31 AM
  4. How do I HIDE products that are out of stock?
    By ryankan1 in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 10-24-2007, 03:17 AM
  5. Hide products from customer groups for SPPC
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-16-2007, 10:11 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
  •