Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2011
    Posts
    3
    Plugin Contributions
    0

    help question Can someone please help? Quantity Issues - Please

    I have tried to find this solution but so far unable.

    Ok. I have the newest version of zen cart and multiple products.

    One product in particular is critical to the site.
    I would like to either pull how many are remaining or bought to a different part of the site that is not ran on zen cart.

    How could I do this using PHP?
    Does anyone have any ideas or suggestions.


    Just to make things completely clear.
    All I want to pull is the number remaining or bought. Nothing else, just the number.

    If I could pull both that would be best.

    Any help is much appreciated.

  2. #2
    Join Date
    Jul 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can someone please help? Quantity Issues - Please

    No takers yet...

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Can someone please help? Quantity Issues - Please

    You're going to have to write some custom logic that connects to your database and queries the products table for the products_qty field for the product_id in question. Without the Zen Cart framework you're going to have to use native PHP MySQL calls. It's not a huge deal, it's just outside the framework of the customizations most people reading this site would do; that's why you aren't getting a lot of responses.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Can someone please help? Quantity Issues - Please

    Do you need to have the information elsewhere on the site so others can see it? Or would it be sufficient to just view it within your Admin? If the latter, maybe one of the admin mods -- perhaps Apsona or Super orders -- will do what you want.

    Rob

  5. #5
    Join Date
    Jul 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can someone please help? Quantity Issues - Please

    I need this to be shown on the site itself not in the admin area.

    Does anyone know how to do this.
    I tried a few different ways but always end in error when trying to do this.

    PLEASE HELP!!!!

 

 

Similar Threads

  1. Can someone please help
    By lcarlo1507 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Apr 2009, 08:15 PM
  2. Can someone please help me
    By redrob in forum General Questions
    Replies: 3
    Last Post: 11 Jul 2008, 04:22 AM
  3. Can Someone Please Help Me??
    By tomato in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Aug 2006, 05:22 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR