Forums / Setting Up Categories, Products, Attributes / QUANTITY box not showing - can't order multiple items (product info page)

QUANTITY box not showing - can't order multiple items (product info page)

Locked

Started by exkluesiv on 16 Apr 2009, 1:39 AM · Views: 4,121

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
16 Apr 2009, 1:39 AM
#1
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

QUANTITY box not showing - can't order multiple items (product info page)

Hello everyone!

This form is a blessing! Thank you all for all of your wonderful contributions and your help! I have searched the forums for the quantity issue I have encountered but wasn't able to find a solution. Here's my problem:

I DO NOT HAVE A QUANTITY BOX IN PRODUCT INFO PAGE - the actual product description pages - so the user cannot order more then one item at a time.

I have configured all the obvious ADMIN settings : here are the ones that have the quantity settings whjch I turned on:

  1. Catalog -> Product Type -> Product General:Show Quantity in Shopping Cart = SET TO 1Show Quantity in Stock = SET TO 1
  2. Configuration -> Product Info -> Product Info Quantity Box Status - Adding New Products = SET TO 1
  3. Configuration -> All listings -> Display Product Quantity = SET TO 1202

Second thing I checked was the "tpl_product_info_display.php" file - but didn't figure out what needed to be done there. I have a feeling there might be something wrong here. Just in case, I'm going to list one of the main QUANTITY code bits here:


<!--bof Add to Cart Box --> <?php if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') { // do nothing } else { ?> <?php $display_button = zen_get_buy_now_button($_GET['products_id'], '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT)); ?> <?php if ($display_qty != '' or $display_button != '') { ?>
<div id="cartAdd">
<?php
  //echo $display_qty;
  echo $display_button;
        ?>
      </div>
<?php } // display qty and button ?> <?php } // CUSTOMERS_APPROVAL == 3 ?> <!--eof Add to Cart Box-->

I have tried setting the <input type="hidden" to "text" and in this case the quantity field actually shows but to no help - it doesn't do anything when I enter any values - product quantity always stays at 1.

CAN ANY OF THE WIZARDS ON THIS FORUM HELP ME FIX THIS?

16 Apr 2009, 2:41 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Ek,
Copy and paste over your existing values...

<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
?>
            <?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
            if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
              // hide the quantity box and default to 1
              $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            } else {
              // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
            }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
  ?>
  <?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
            ?>
          </div>
  <?php } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 Apr 2009, 2:21 PM
#3
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Thank you for your help Haredo!

I've followed your
Part of the problem is solved, but only a part. Meaning - the quantity box is now showing on the product info pages, however it is not working. It just appears there, but does not do anything. you can try it out if you'd like - it will always be one item for any products you order:
http://www.b e s t c u s t o m p c . com/index.php?main_page=index&cPath=7_1
(I've set this directory products to quantity of 10 each)

Also - maybe this could be helpful and not confusing even more: The regular "product listing pages" - say for example you just go to the category "Components" then to "Flash Media" - you'll see a list of all the products in that category each product having a quanity of 10 in stock. Now - these 'quantity' boxes ARE in fact working! which is weird. But check this out - if you do it this way and then you go into the actual product page and order the product again - it overwrites the quantity you ordered and sets it equal to 1 again :( !!

16 Apr 2009, 2:40 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Ex,

Yes, It works

After you change 0 to 1, you half to click on the button above the page called Add Selected Products to Cart

You have serious issues with the width of your site you need to fix????

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 Apr 2009, 3:06 PM
#5
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Posted via Mobile Device

16 Apr 2009, 3:20 PM
#6
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

The category listing pages do work, it's the actual product description pages that don't allow a change of quantity, even though the box is there.
U can check it out - go to "Components -> Flash Media ->and click on any product there then try to change qty- you'll see the problem,

-egor
Posted via Mobile Device

16 Apr 2009, 3:29 PM
#7
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Ex,
Working for me here...
SABRENT CRW-UINB 68-in-1 USB 2.0 Internal Card Reader

once you change the 0 to 1, you half to click the box on top of the table called Add selected products to cart, which then I go to the shopping cart

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

17 Apr 2009, 3:31 PM
#8
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

This thing is still not working! I just checked on 3 different computers. IT WORKS ONLY THROUGH Category listings - that is when you go to a category such as: Components and then click on any of the categories, for example - Keyboards.
AFTER - DO NOT ADD THE ITEMS HERE - GO INSIDE A PRODUCT. Such as the first product - Saitek PZ30AU Black USB Keyboard - and click on the picture or its title - which will take you inside the product and you will see a COMPLETE description of the item there. On the bottom - you see an "ADD TO CART" button - but here it's already got a "1" in there not 0 such as the product category listings - so FROM HERE - if you try changing the quantity - it will always be 1!

Try it out. I asked my friend to try it to and he got the same result. I thought I was going crazy for a second.

Thanks for your help!

-Egor

17 Apr 2009, 3:52 PM
#9
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Ex,
I am stumped, wait for a fellow Zenner to help you with this problem

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

18 Apr 2009, 4:03 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: QUANTITY box not showing - can't order multiple items (product info page)

Switch to the Classic Template ... does it work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Apr 2009, 4:26 AM
#11
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Hi Ajeh!

I just did what you suggested - tried switching to the other template - with no luck unfortunately! It just changes the layout on some of the pages, but the shopping cart is the same. (Its really strange that the Quantity calculation works from the Category Listings pages and not from the actual product information pages themselves.)

THe quantity box is just gone from the shopping cart. I replaced the tpl_shopping_cart_default.php with the latest original ZenCart file. Now it shows the columns on top with the words "Qty" but noting underneath them. Here's what I was able to gather so far:

When you are in shopping cart and using firebug - "inspect" the "qty" area (well - at least where its suppose to be) - you will see that that field corresponds to a piece of code marked as 'hidden' which you can play with right inside firebug and test differnet settings. Heres the original piece of code:

<td class="cartQuantity"> <input type="hidden" value="1" name="cart_quantity[]"/>

Using firefox firebug - I changed the hidden value to text and then the quantity box SHOWS! but I was unable to find this piece of code in my zen directory anywhere.

Thank you for helping me out with this - I've been struggling for 3 days, day and night, trying to figure it out.

18 Apr 2009, 4:46 AM
#12
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

@Ajeh,
He is already using the classic folder structure..

includes/templates/classic/css/stylesheet.css

I noticed this today Ajeh....

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

18 Apr 2009, 1:22 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: QUANTITY box not showing - can't order multiple items (product info page)

Look in the tpl_shopping_cart_default.php around lines 67-73 ...

I have:

<?php
  if ($product['flagShowFixedQuantity']) {
    echo $product['showFixedQuantityAmount'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
  } else {
    echo $product['quantityField'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
  }
?>

Be sure to check your default template and look for an override ...

You have something else also breaking the add to cart but first look for this one ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Apr 2009, 1:50 PM
#14
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Good morning Ajeh,

Same :(

Here's the contents of my tpl_shopping_cart_default.php file, maybe you can see something I missed here:

<?php
/**
 * Page Template
 *
 * Loaded automatically by index.php?main_page=shopping_cart.<br />
 * Displays shopping-cart contents
 *
 * @package templateSystem
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_shopping_cart_default.php 5554 2007-01-07 02:45:29Z drbyte $
 */
?>
<div class="centerColumn" id="shoppingCartDefault">
<?php
  if ($flagHasCartContents) {
?>

<?php
  if ($_SESSION['cart']->count_contents() > 0) {
?>
<div class="forward"><?php echo TEXT_VISITORS_CART; ?></div>
<?php
  }
?>

<h1 id="cartDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if ($messageStack->size('shopping_cart') > 0) echo $messageStack->output('shopping_cart'); ?>

<?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?>
<div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>

<?php if (!empty($totalsDisplay)) { ?>
  <div class="cartTotalsDisplay important"><?php echo $totalsDisplay; ?></div>
  <br class="clearBoth" />
<?php } ?>

<?php  if ($flagAnyOutOfStock) { ?>

<?php    if (STOCK_ALLOW_CHECKOUT == 'true') {  ?>

<div class="messageStackError"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>

<?php    } else { ?>
<div class="messageStackError"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>

<?php    } //endif STOCK_ALLOW_CHECKOUT ?>
<?php  } //endif flagAnyOutOfStock ?>

<table  border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
     <tr class="tableHeading">
        <th scope="col" id="scQuantityHeading"><?php echo TABLE_HEADING_QUANTITY; ?></th>
        <th scope="col" id="scUpdateQuantity"> </th>
        <th scope="col" id="scProductsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
        <th scope="col" id="scUnitHeading"><?php echo TABLE_HEADING_PRICE; ?></th>
        <th scope="col" id="scTotalHeading"><?php echo TABLE_HEADING_TOTAL; ?></th>
        <th scope="col" id="scRemoveHeading"> </th>
     </tr>
         <!-- Loop through all products /-->
<?php
  foreach ($productArray as $product) {
?>
     <tr class="<?php echo $product['rowClass']; ?>">
       <td class="cartQuantity">
<?php

  if ($product['flagShowFixedQuantity']) {
    echo $product['showFixedQuantityAmount'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
  } else {
    echo $product['quantityField'] . '<br /><span class="alert bold">' . $product['flagStockCheck'] . '</span><br /><br />' . $product['showMinUnits'];
  }
?>
       </td>
       <td class="cartQuantityUpdate">
<?php
  if ($product['buttonUpdate'] == '') {
    echo '' ;
  } else {
    echo $product['buttonUpdate'];
  }
?>
       </td>
       <td class="cartProductDisplay">
<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo $product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>'; ?></span></a>
<br class="clearBoth" />


<?php
  echo $product['attributeHiddenField'];
  if (isset($product['attributes']) && is_array($product['attributes'])) {
  echo '<div class="cartAttribsList">';
  echo '<ul>';
    reset($product['attributes']);
    foreach ($product['attributes'] as $option => $value) {
?>

<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . nl2br($value['products_options_values_name']); ?></li>

<?php
    }
  echo '</ul>';
  echo '</div>';
  }
?>
       </td>
       <td class="cartUnitDisplay"><?php echo $product['productsPriceEach']; ?></td>
       <td class="cartTotalDisplay"><?php echo $product['productsPrice']; ?></td>
       <td class="cartRemoveItemDisplay">
<?php
  if ($product['buttonDelete']) {
?>
           <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>"><?php echo zen_image($template->get_template_dir(ICON_IMAGE_TRASH, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . ICON_IMAGE_TRASH, ICON_TRASH_ALT); ?></a>
<?php
  }
  if ($product['checkBoxDelete'] ) {
    echo zen_draw_checkbox_field('cart_delete[]', $product['id']);
  }
?>
</td>
     </tr>
<?php
  } // end foreach ($productArray as $product)
?>
       <!-- Finished loop through all products /-->
      </table>

<div id="cartSubTotal"><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $cartShowTotal; ?></div>
<br class="clearBoth" />

<!--bof shopping cart buttons-->
<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
<?php
// show update cart button
  if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
?>
<div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
<?php
  } else { // don't show update button below cart
?>
<?php
  } // show update button
?>
<!--eof shopping cart buttons-->
</form>

<br class="clearBoth" />
<?php
    if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '1') {
?>

<div class="buttonRow back"><?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_SHIPPING_ESTIMATOR) . '\')">' .
 zen_image_button(BUTTON_IMAGE_SHIPPING_ESTIMATOR, BUTTON_SHIPPING_ESTIMATOR_ALT) . '</a>'; ?></div>
<?php
    }
?>

<!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** -->
<?php  // the tpl_ec_button template only displays EC option if cart contents >0 and value >0
if (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True') {
  include(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php');
}
?>
<!-- ** END PAYPAL EXPRESS CHECKOUT ** -->

<?php
      if (SHOW_SHIPPING_ESTIMATOR_BUTTON == '2') {
/**
 * load the shipping estimator code if needed
 */
?>
      <?php require(DIR_WS_MODULES . zen_get_module_directory('shipping_estimator.php')); ?>

<?php
      }
?>
<?php
  } else {
?>

<h2 id="cartEmptyText"><?php echo TEXT_CART_EMPTY; ?></h2>

<?php
$show_display_shopping_cart_empty = $db->Execute(SQL_SHOW_SHOPPING_CART_EMPTY);

while (!$show_display_shopping_cart_empty->EOF) {
?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_FEATURED_PRODUCTS') { ?>
<?php
/**
 * display the Featured Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_SPECIALS_PRODUCTS') { ?>
<?php
/**
 * display the Special Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

<?php
  if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_UPCOMING') {
    include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS));
  }
?>
<?php
  $show_display_shopping_cart_empty->MoveNext();
} // !EOF
?>
<?php
  }
?>
</div>

Please let me know if there's another possible file which could be affecting and controlling the display of shopping cart elements - I'll be glad to list the contents of those as well.

Thanks for your help!

18 Apr 2009, 1:59 PM
#15
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Ex,
Did you take time to use this tool to hunt down your problem..

https://www.zen-cart.com/tutorials/index.php?article=39

  1. search for shopping_cart
  2. bottom left hand side
  3. This will reveal most of the files associated with the shopping cart.
  4. Winmerge is a use free program to compare what is on your server and find the fresh install .php file to see what changes you might have.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

18 Apr 2009, 2:07 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: QUANTITY box not showing - can't order multiple items (product info page)

There is a lot of code that could be affecting this ...

You definitely have something customized or a bad file etc. that is causing this issue to happen ...

I have tried fudging some code on my site, but I cannot reproduce your errors ...

The easiest method to find the problem is to compare your code on your site against the original code ...

For this, I like Beyond Compare from scootersoftware.com that lets me do an FTP compare of files on my computer to those on my server ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Apr 2009, 2:39 PM
#17
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

I'm going to go ahead and try that out Ajeh. Thanks for your suggestions! I've actually been looking for a program such as that, because I have WinMerge and its kinda a pain to use - you have to always download the files on the computer first, rename them and then compare.

I'll post the results if I'm able to figure it out.

-Ex

18 Apr 2009, 3:17 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: QUANTITY box not showing - can't order multiple items (product info page)

NOTE: in the olden days, you had to have the purchased version for the FTP ... I am not sure how they do it now ... but it is for sure worth it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Apr 2009, 4:20 PM
#19
exkluesiv avatar

exkluesiv

New Zenner

Join Date:
Apr 2009
Posts:
12
Plugin Contributions:
0

Re: QUANTITY box not showing - can't order multiple items (product info page)

Hey, one more question - u know how I previously said that the quantity box is marked as hidden, when you inspect it with firebug in the shopping cart-then if I set it to text then the box shows. Do u have any ideas on where this line of code might be?
Posted via Mobile Device

18 Apr 2009, 5:11 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: QUANTITY box not showing - can't order multiple items (product info page)

Usually I would say check the Product to see what the setting is for:
Products Quantity Box Shows:

The problem does not appear to be the tpl_shopping_cart_default.php ...

as your file matches the default ...

There could be a problem in a number of places but it is hard to say by poking at this file or that file ...

Your add to cart works on the listings but not from the:
tpl_product_info_display.php

Do you have a separate one for your template or are you using the default one?

If you are using the default file:
/includes/templates/template_default/templates/tpl_product_info_display.php

has that file been changed?

There are various other files associated with building the file content and for executing the add to cart ...

This is where the guess work is hard to break down ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!