Questions tagged [product-quantity]
The product-quantity tag has no usage guidance.
product-quantity
198
questions
-1
votes
0
answers
19
views
Auto-applied coupon on Mix Match Products on minimum quantity
How do we properly code the below?
I am looking to have auto-applied coupon in cart for mix-match products and minimum quantity should be 5 but can't figure it out. I already created a coupon based on ...
1
vote
0
answers
53
views
Shipping cost based on shipping zone and on items quantity steps in WooCommerce
i have a PHP code that counts shipping cost in woocommerce based on quantity steps in addition to another cost based on shipping zone, the sum of two costs give the total shipping cost. what i need ...
0
votes
0
answers
16
views
Product page quantity for variable product
In WordPress, I just want to add variable product types to the cart because I'm adding quantities
to the variable products. It works for simple products, but for variable products, it's functioning ...
0
votes
0
answers
20
views
when i want to update the quantity in the cart page in magento 2 its not updated Magento ver. 2.4.3-p1
I have used this code to print the data in the cart parameter
echo "<pre>";
$cartData = $this->getRequest()->getParam('cart');
print_r($cartData);
the ...
1
vote
1
answer
85
views
Display formated WooCommerce product total based on quantity above add to cart button
I have a Fabric store which i need it to clearly state to customers the amount they are adding to the basket. The product is set at 1/2 meter prices. So 1 quantity of stock is half a meter of fabric.
...
1
vote
1
answer
28
views
Woocommerce add custom data to products that are already in the cart in custom file
I have file custom.php where do I add products with custom data (field_wrap_name and field_wrap_img) WC()->cart->add_to_cart
custom.php
foreach($result as $res) {
if( isset($_POST['...
2
votes
2
answers
129
views
Custom quantity input step based on WooCommerce product category
I have been trying to get decimal quantities to work in WooCommerce, and I am at a loss for why it's not working.
My plugin code (see below) successfully allows the inputs to be decimals in 0.5 ...
1
vote
1
answer
51
views
WooCommerce minimum quantity per category across multiple products
In WooCommerce, I aim to enforce a minimum quantity restriction on purchased items by category.
Here's an example:
For products 1, 2, and 3 (all in the Shoes category), the combined minimum quantity ...
-1
votes
2
answers
54
views
I'm using laravel cashier to integrate stripe. After subscription if I change the number of quantity then its adjusting price. I want to no adjustment
My basic goal is to in the upcoming invoice it will directly charge quantity * price. there should not be any adjustment. How can I get it? Thanks if you have solutions
Thast what I did
$subscription-&...
-1
votes
1
answer
51
views
How to design scale line like design in flutter
I want to design below like scale line scrolling design in flutter as pageview. it is used for select product quantity. is there any way to achieve this .
This is my figma design
I want to design ...
0
votes
0
answers
69
views
Data Model for Stock quantity
I would like to ask you about how to design a data model for books stock quantities. I tried to figure it out, but I finished with cartesian product, and for 300 books and for few years the stock fact ...
0
votes
1
answer
33
views
Changing quantity as the displayed number
I have a problem with changing quantity as the displayed number. When I add products to the cart, everything works fine. For example, adds 5 products to the cart. However, when I click the trash icon ...
0
votes
0
answers
15
views
Increasing quantity of product thats already in cart doesnt work
I am trying to increase quantity of a product that's already in a cart in a way of summing up value representing amount that customer wants to add and quantity value that's already in cart object, but ...
0
votes
0
answers
96
views
Magento 2.3.4 salable quantity and default stock problem with one product
My version of Magento is 2.3.4
One of my product shows default value stock = 15, when true stock is 0.
I have checked the database and it's look like this.
mysql> select * from ...
0
votes
1
answer
84
views
How to set increase or decrease function in cart
when i select the item in cart, it is selected. But when i try to increase the quantity, the price does not change and i have to recheck to update the price. Please help as i cannot figure out how to ...