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

Easypopulate quantity prob

This is a discussion on Easypopulate quantity prob within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Problem: I have some products that I have to set to inactive. ie click out of stock so button is ...

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


    Default Easypopulate quantity prob

    Problem:

    I have some products that I have to set to inactive. ie click out of stock so button is red in admin even though there may be 100 pieces in quantity because I can not show this product at this time.

    Also Some I set to active but have zero in quantity so it shows the product but then shows my out of stock button.


    When using easypopulate to change prices model/price/qty download it inactivates products with zero in quantity and activates ones I do not want activated with say 50 in quantity.

    Solutions tried:

    I have uncommented in different places $v_products_quantity
    in the easypopulate.php which in certain instances removes it from the model/price/qty download so that column is not there but then it still defaults to qty 1. I tried uncommenting where I thought that was and I get all kinds of errors.

    Question then is

    How do I get it to ignore changing anything to do with quantity in the database and stop it from making things active and inactive

    Thank you in advance

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


    Default Re: Easypopulate quantity prob

    Ok I hate to bump this but after a week with cluster headaches ouch! I can not figure this out. I believe it is in this part of the code in easypopulate.php

    // default the stock if they spec'd it or if it's blank
    $v_db_status = '1'; // default to active
    if ($v_status == $inactive){
    // they told us to deactivate this item
    $v_db_status = '0';
    }
    if ($zero_qty_inactive && $v_products_quantity == 0) {
    // if they said that zero qty products should be deactivated, let's deactivate if the qty is zero
    $v_db_status = '0';
    }

    All I know is when I change customer group prices using easypopulate Model/Price/QTY I do not want it to mess with stock or activating or making products inactive at all

    I have played with the code all over this file and can not get it. I think I am just migraine blind! and I might not be smarter than a 5th grader

    ANYONE?

Similar Threads

  1. Removing requests bar & New Products for Nov, width prob
    By deuce in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-20-2006, 06:38 AM
  2. How to update attribute quantity via Easypopulate?
    By groggory in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 01-25-2006, 11:29 AM
  3. osC MS2-MAX v1.7 with XAMPP 1.4.10a (lite) installation prob
    By Philibuster in forum osCMax v1.7 Installation
    Replies: 6
    Last Post: 10-04-2005, 11:07 PM
  4. Prob with Dynamic Mopics, some suggestions of solution insid
    By EddyXP in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 08-17-2004, 10:58 PM
  5. NEED HELP EASYPOPULATE
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-27-2003, 02:25 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
  •