osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Need Mod/add-on/Contribution

This is a discussion on Need Mod/add-on/Contribution within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I have a quick hack on some of my pages to show a stock level on my items: Camaras inalambricas ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #21  
Old 10-30-2007, 02:03 PM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 346
Thanks: 9
Thanked 27 Times in 26 Posts
Rep Power: 3
MindTwist has a spectacular aura aboutMindTwist has a spectacular aura about
Default Re: Need Mod/add-on/Contribution

I have a quick hack on some of my pages to show a stock level on my items:

Camaras inalambricas : Twisted Tienda
Twisted Tienda : Kit Camara Nocturna con Infrarojos Inalambrica 30 leds 1.2G [kit813a12g] - 50.00EUR

Ain't too hard to do, something like:

PHP Code:
    <?php 
        $prod_quantity 
tep_get_products_stock($products_id); 
        switch (
$prod_quantity) { 

        case (
$prod_quantity <= 0):
            
$stock_img '<img src="images/icons/stock0.gif" border="0">';
            break; 

        case 
0:
            
$stock_img '<img src="images/icons/stock0.gif" border="0">';
            break; 

        case (
$prod_quantity <= 5):
            
$stock_img '<img src="images/icons/stock1.gif" border="0">'
            break; 
    
        case (
$prod_quantity <= 10):
            
$stock_img '<img src="images/icons/stock2.gif" border="0">'
            break; 
    
        default:
            
$stock_img '<img src="images/icons/stock3.gif" border="0">'
        }
__________________
MindTwist of Twisted Reality and Twisted Tienda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #22  
Old 10-30-2007, 03:00 PM
New Member
 
Join Date: Apr 2007
Location: Diamond Bar, CA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
intensea is on a distinguished road
Default Re: Need Mod/add-on/Contribution

nice! thats cool ill add that to mine too

but i want the customer to see the same format or similar of the "low stock report" we have on our admin page.. that has all products..quantity..and pricing..

any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 10-30-2007, 03:07 PM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 346
Thanks: 9
Thanked 27 Times in 26 Posts
Rep Power: 3
MindTwist has a spectacular aura aboutMindTwist has a spectacular aura about
Default Re: Need Mod/add-on/Contribution

Sorry, I do not know what "format" you are referring to.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 10-30-2007, 04:00 PM
New Member
 
Join Date: Apr 2007
Location: Diamond Bar, CA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
intensea is on a distinguished road
Default Re: Need Mod/add-on/Contribution

Quote:
Originally Posted by jpf View Post
The low stock report (stats_low_stock_attrib.php) - Works fine for me. Got stock tracking turn on for each product option that you want to track stock on?

See attached PIC.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 10-30-2007, 04:36 PM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 346
Thanks: 9
Thanked 27 Times in 26 Posts
Rep Power: 3
MindTwist has a spectacular aura aboutMindTwist has a spectacular aura about
Default Re: Need Mod/add-on/Contribution

Oh, ok... nevermind my answer then!

Yes, I do know what is the slow stock report on the admin section. I had not understood you wanted customers to be able to access a page like that, I thought on your previous posts that you just wanted customers to see the stock level on a given product.
__________________
MindTwist of Twisted Reality and Twisted Tienda
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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Help with Contribution? bkpie osCMax v2 Customization/Mods 0 03-05-2007 02:07 PM
Contribution Tracker michael_s New osCommerce Contributions 0 01-21-2007 04:21 AM
Contribution Tracker michael_s New osCommerce Contributions 0 01-20-2007 05:00 PM
Contribution help offnetrob osCommerce 2.2 Modification Help 1 03-02-2006 02:57 PM
any contribution? superkor osCMax v1.7 Discussion 1 12-20-2003 12:04 PM


All times are GMT -8. The time now is 02:32 PM.


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