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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| Uncommenting: Blogs, Photos, Videos and more on Technorati | This thread | Refback | 07-06-2007 08:33 AM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Removing requests bar & New Products for Nov, width prob | deuce | osCMax v2 Customization/Mods | 2 | 11-20-2006 07:38 AM |
| How to update attribute quantity via Easypopulate? | groggory | osCMax v2 Features Discussion | 1 | 01-25-2006 12:29 PM |
| osC MS2-MAX v1.7 with XAMPP 1.4.10a (lite) installation prob | Philibuster | osCMax v1.7 Installation | 6 | 10-05-2005 12:07 AM |
| Prob with Dynamic Mopics, some suggestions of solution insid | EddyXP | osCMax v1.7 Discussion | 0 | 08-17-2004 11:58 PM |
| NEED HELP EASYPOPULATE | Anonymous | osCMax v1.7 Discussion | 1 | 12-27-2003 03:25 AM |