osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old 06-30-2007, 11:12 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 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 07-08-2007, 06:20 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: 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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

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

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscmax-v2-features-discussion/9624-easypopulate-quantity-prob.html

Posted By For Type Date
Uncommenting: Blogs, Photos, Videos and more on Technorati This thread Refback 07-06-2007 08:33 AM

Similar Threads

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


All times are GMT -8. The time now is 07:06 PM.


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