Skip to main content

All Questions

Tagged with
-2 votes
1 answer
41 views

Ajax is not working without refreshing the page [closed]

Ajax is not working without refreshig the page to make it work.I am coding an ecommerce website in django and need to show quantity of products in the cart but it dont show quantity without refresh ...
Mohi's user avatar
  • 3
-1 votes
0 answers
30 views

My Quantity increase button is not enabling when i reduce my quantity from maximum. I am using ajax for increasing and decreasing quantity in my cart

$(document).ready(function() { function updateQuantity(variantId, newQuantity) { const basePrice = parseFloat($('#quantity-' + variantId).data('base-price')); //const totalPrice = ...
Nisha Mashhood's user avatar
-2 votes
1 answer
29 views

Problem transferring data from one site to another

I have a database with products in it, and I also have a shop.php page where all the products are displayed. If I click on a specific product there, I will be redirected to the product.php page and ...
Roland Toth's user avatar
0 votes
1 answer
1k views

E-commerce website cart page calculation and HTMl updation

I'm trying to build a cart page for an e-commerce website. I'm having trouble figuring out the JS for calculating.. below I'm getting a file through AJAX call called products.json which has products ...
Adith Krishnan's user avatar
1 vote
1 answer
4k views

How to update cart quantity with Ajax in Laravel

I am using a package from https://packagist.org/packages/bumbummen99/shoppingcart which extends Crinsane/LaravelShoppingCart in my Laravel 7.3 framework and I am struggling with updating my cart ...
theospace's user avatar
0 votes
1 answer
301 views

Codeigniter 3 Shopping Cart Custom Function AJAX error

Good day all, I've scratched my head for the past week trying to figure out this problem. Basically I'm using the Codeigniter 3 shopping cart library in my application. As it has the standard add to ...
HarisM's user avatar
  • 37
0 votes
0 answers
368 views

How to update the cart with ajax json response

I am adding items to cart with ajax request but i don't know how to update the cart with ajax response. This is my index.blade.php code from where i am adding items to cart with some inputs in cart: &...
Abdul Wadood's user avatar
0 votes
0 answers
1k views

Ajax cart discount on shopify

I was wondering how I can show the already discounted price on the cart. My website has a discount popup that shows up after a few seconds and generates a discount automatically, the client then ...
George-Valentin Pele's user avatar
1 vote
1 answer
1k views

How do I get my show cart item counter to be ajax in Codeigniter?

sorry for being a newbie, if someone may point me to the right direction to solve my issue I would be super grateful. I have created a cart system using codeigniter 3's deprecated library and with ...
HarisM's user avatar
  • 37
1 vote
0 answers
153 views

Changing HTML content of a particular element in AJAX response in a shopping cart

I'm updating prices in a shopping cart with a select drop-down quantity menu using Ajax and onchange event. It works fine, but I was wondering if there would be an alternative to my code as it doesn't ...
yendrrek's user avatar
  • 331
0 votes
1 answer
200 views

Free shipping countdown, need helping making it auto refresh

I recently added a minor feature to the slide out shopping cart on a Shopify site to show the customer how many more items they need to add to their cart to receive free shipping. It works just fine, ...
Eric Fox's user avatar
0 votes
0 answers
63 views

After update theme options how to update Woocommerce Cart Session?

I have a custom theme options page ( In WordPress Site ) and in that option I have a couple of options for WooCoommerce Mini Cart Customization. Everything works fine as expected but every time I ...
mlimon's user avatar
  • 661
-1 votes
1 answer
885 views

On changing input using ajax only 1st row works not all

When I try to change the number of quantity and then I want to update the total price according to that...using ajax but only first row works and all others rows does not work. Ajax request is only ...
user avatar
0 votes
1 answer
537 views

yii2 shopping cart ajax

I want to modify existing shopping cart in yii2, so it wouldn't reload the page, means make it work by ajax. Current cart looks like: <form method="post" id="form-prodtobuy-<?= $p->id ?>"...
JohnK's user avatar
  • 274
2 votes
2 answers
1k views

How to fix "403 forbidden" redirect issue happens while adding shopping cart price rule condition in magento

My task is to add new shopping cart price rule in magento admin section. I have added rule information, then I need to add conditions for that rule .When I change the condition select box option, it's ...
Jeyakumar T's user avatar

15 30 50 per page
1
2 3 4 5