soumya12345
Forum Replies Created
-
i tried this but this wuantity input is not working for me in case of multiple item..
whenever I added product, it added only one item.Product quantity working properly for multiple product??
is it adding in cart page?
…\wp-content\plugins\woocommerce\templates\archive-product.php
The “Add to cart” button comes from
<?php do_action( ‘woocommerce_after_shop_loop_item’ ); ?>Forum: Plugins
In reply to: [WooCommerce] Quantity input in "shop" page not workingThe following variable:
$product_quantity = sprintf( ‘<div class=”quantity”><input name=”cart[%s][qty]” data-min=”%s” data-max=”%s” value=”%s” size=”4″ title=”Qty” class=”input-text qty text” maxlength=”12″ /></div>’, $cart_item_key, $data_min, $data_max, esc_attr( $values[‘quantity’]) );
cant be accessed after overriding. how this cant be solved using plugin?
Forum: Plugins
In reply to: [WooCommerce] Quantity input in "shop" page not workingNo,didn’t alter anything, just copied as it was..
actually it cant access the attribute $values[‘quantity’].
How the value can be transferred to the page?Any suggestion?ok I’ve done it just.
override the following code in “archive-product.php”.
========================================================
[Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]
==========================================================But now facing the next problem.. The “Quantity” field is not working..
whatever input i’m giving there, at the CART page its showing just 1 item.. tell me if u get the solution.. And if it help u..hi , I’m new in WordPress as well as WooCommerce.
I have overloaded the “content-product.php” and put a table structure.
but the file is called from somewhere that I cant found.so all the table heading are appearing multiple times and the table is also broken into parts.
any solution please..