Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Problem with stock "Responsive Classic Template" template

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]

    Bone stock install with only EP4 installed.

    Trying to set not to show quantity boxes. The attached images show how two PNs are configured and how they display online



    TY...Im not sure where to look on what might be wrong.





    PHP Version 8.1.2-1ubuntu2.14
    System Linux mediaserver 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64
    Build Date Aug 18 2023 11:41:11
    Build System Linux
    Server API Apache 2.0 Handler
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /etc/php/8.1/apache2
    Loaded Configuration File /etc/php/8.1/apache2/php.ini
    Scan this dir for additional .ini files /etc/php/8.1/apache2/conf.d
    Additional .ini files parsed /etc/php/8.1/apache2/conf.d/10-mysqlnd.ini, /etc/php/8.1/apache2/conf.d/10-opcache.ini, /etc/php/8.1/apache2/conf.d/10-pdo.ini, /etc/php/8.1/apache2/conf.d/15-xml.ini, /etc/php/8.1/apache2/conf.d/20-calendar.ini, /etc/php/8.1/apache2/conf.d/20-ctype.ini, /etc/php/8.1/apache2/conf.d/20-curl.ini, /etc/php/8.1/apache2/conf.d/20-dom.ini, /etc/php/8.1/apache2/conf.d/20-exif.ini, /etc/php/8.1/apache2/conf.d/20-ffi.ini, /etc/php/8.1/apache2/conf.d/20-fileinfo.ini, /etc/php/8.1/apache2/conf.d/20-ftp.ini, /etc/php/8.1/apache2/conf.d/20-gd.ini, /etc/php/8.1/apache2/conf.d/20-gettext.ini, /etc/php/8.1/apache2/conf.d/20-iconv.ini, /etc/php/8.1/apache2/conf.d/20-intl.ini, /etc/php/8.1/apache2/conf.d/20-mbstring.ini, /etc/php/8.1/apache2/conf.d/20-mysqli.ini, /etc/php/8.1/apache2/conf.d/20-pdo_mysql.ini, /etc/php/8.1/apache2/conf.d/20-phar.ini, /etc/php/8.1/apache2/conf.d/20-posix.ini, /etc/php/8.1/apache2/conf.d/20-readline.ini, /etc/php/8.1/apache2/conf.d/20-shmop.ini, /etc/php/8.1/apache2/conf.d/20-simplexml.ini, /etc/php/8.1/apache2/conf.d/20-sockets.ini, /etc/php/8.1/apache2/conf.d/20-sysvmsg.ini, /etc/php/8.1/apache2/conf.d/20-sysvsem.ini, /etc/php/8.1/apache2/conf.d/20-sysvshm.ini, /etc/php/8.1/apache2/conf.d/20-tokenizer.ini, /etc/php/8.1/apache2/conf.d/20-xmlreader.ini, /etc/php/8.1/apache2/conf.d/20-xmlwriter.ini, /etc/php/8.1/apache2/conf.d/20-xsl.ini, /etc/php/8.1/apache2/conf.d/20-zip.ini
    PHP API 20210902
    PHP Extension 20210902
    Zend Extension 420210902
    Zend Extension Build API420210902,NTS
    PHP Extension Build API20210902,NTS
    Debug Build no
    Thread Safety disabled
    Zend Signal Handling enabled
    Zend Memory Manager enabled
    Zend Multibyte Support provided by mbstring
    IPv6 Support enabled
    DTrace Support available, disabled
    Registered PHP Streams https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
    Registered Stream Socket Transports tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
    Registered Stream Filters zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, convert.iconv.*
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screen Shot 2023-09-01 at 5.34.04 PM.jpg 
Views:	243 
Size:	13.0 KB 
ID:	20368   Click image for larger version. 

Name:	Screen Shot 2023-09-01 at 5.33.38 PM.jpg 
Views:	237 
Size:	16.8 KB 
ID:	20369   Click image for larger version. 

Name:	Screen Shot 2023-09-01 at 5.33.24 PM.jpg 
Views:	240 
Size:	24.7 KB 
ID:	20370  

    Click image for larger version. 

Name:	Screen Shot 2023-09-01 at 5.32.54 PM.jpg 
Views:	241 
Size:	25.9 KB 
ID:	20371  

  2. #2
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Problem with stock "Responsive Classic Template" template

    So are you wanting to hide the quantity that are available, not to prevent a user from requesting to say add 2 items to the cart? Meaning I see in one of those images the quantity 1000. You want to hide that quantity, correct?

    If so, that information is not controlled by the setting shown in the other image of a portion of the admin product information page. The setting displayed offers a second way to attempt to prevent or allow a user to choose a quantity of product to add to the cart.

    There are several places where controls exist to prevent display of the total number of a product, although I once added to the cart, if the individual can modify the number of quantity in the cart, they could ultimately discover that maximum quantity. Anyways, using the admin, go to tools and developers tool kit. The second row down of search options searches configuration data. Type in: quantity

    Select the search button. Where you see display product quantity, you will want to adjust those to your liking for each of the methods/lists product can be displayed, then also the product type data associated with the quantity in stock.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: Problem with stock "Responsive Classic Template" template

    I'm acting as a drop shipper for a warehouse, so I dont want to show Qty to the customer.

    It's assumed in stock unless the customer is later notified that it is not.

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

    Default Re: Problem with stock "Responsive Classic Template" template

    There's a screen called the Product Type Layout Editing screen

    https://docs.zen-cart.com/user/admin...s_edit_layout/

    Admin > Catalog > Product Types > Layout Settings

    You'll likely want to edit product type 1

    Set the field "Show Quantity In Stock" to 0.

    As long as your template respects this value, this should work. If it doesn't, post back.
    That Software Guy. My Store: Zen Cart Support
    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.

 

 

Similar Threads

  1. v156 myDEBUG file created from responsive classic template (stock)
    By shrimp-gumbo-mmmhhh in forum Bug Reports
    Replies: 2
    Last Post: 22 Apr 2019, 07:03 PM
  2. v155 Responsive Template "Mobishop" from 12leaves
    By pubaolao in forum Addon Templates
    Replies: 3
    Last Post: 9 May 2017, 03:09 PM
  3. What is a "Responsive Classic" template in V1.55?
    By Ritalie in forum General Questions
    Replies: 3
    Last Post: 25 Feb 2017, 07:17 PM
  4. add to cart button and "show larger" in classic template
    By bxfl in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Oct 2008, 07:34 PM
  5. New install, copy of "Classic" template
    By Silver Kamel in forum Basic Configuration
    Replies: 0
    Last Post: 1 Nov 2006, 10:20 PM

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