Skip to main content

Questions tagged [shopping-cart]

Shopping cart systems for e-businesses such as online shops.

shopping-cart
-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
-4 votes
0 answers
25 views

php mail function Is this method correct to send mail [closed]

Is this method correct to send mail from checkout page function sendInvoiceEmail($email, $invoiceNumber, $orderDetails) { $subject = "Your Invoice - $invoiceNumber"; $message = &...
Abdulrhman Alshalal's user avatar
0 votes
1 answer
28 views

Laravel : installation shoppingcart failed

//my composer.json { "name": "laravel/laravel", "version": "11", "type": "project", "description": "The ...
lara's user avatar
  • 1
0 votes
0 answers
30 views

How do I display an image in a Modal Window Shopping Cart (Javascript/Bootstrap)

I have used someone else's code as I am very new to Javascript. I have managed to get the add to shopping cart functioning, displaying product title, price etc. but would like to add a small thumbnail ...
Steven's user avatar
  • 1
-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
0 votes
0 answers
26 views

Get From Session in .NET

This is my methods for get session and save in. I set session method in correct way and write service in IOC: service.AddHttpContextAccessor(); public List<CartItemViewModel> GetFromSession() ...
Maryam12 forex's user avatar
0 votes
1 answer
46 views

Dynamic edit form for each item in a shopping cart

I want the user to be able to edit the quantity of an item in the shopping cart without opening a new page or dialog. The quantity displayed in the cart should turn into a drop-down menu, and the user ...
necrophade's user avatar
0 votes
2 answers
68 views

How to update quantity and total price for each SKU in JavaScript?

I'm working on a shopping cart functionality for a fictitious online store. The core of this functionality is a Cart class that manages the information and performs calculations. This class doesn't ...
mlpz's user avatar
  • 1
0 votes
1 answer
52 views

How do I connect the Home, Shopping cart, and add to cart with each other?

I've been trying to direct the add to cart button on the home page of the website(for online shopping) to the addtocart file and the shopping cart. I just can't seem to find what's wrong. Here are the ...
ARA12's user avatar
  • 13
1 vote
1 answer
124 views

Cypress testing issue: Cart modal not visible

I'm forwarding the code containing the exemplary working steps, finishing with clicking the Add to Basket button. Steps after that should consider that a cart modal appears, and Cypress should click ...
No Tools No Craft's user avatar
-1 votes
1 answer
28 views

Items disappear from the cart icon on the home page

I add a product to the cart and when I return to the main page it disappears. Then it goes back to any other URL on the site I have deactivated lite speed cache, deleted the server cache and nothing, ...
Manuel Cuberos Reyes's user avatar
1 vote
1 answer
41 views

How to add quantities from a specific items in React

i have an array like this const products = [ { id: 1, name: "Apple", price: 10, img: "apple.jpg" }, { id: 2, name: "Banana", price: 20, img: "banana.jpg" }, ...
callmecua's user avatar
0 votes
0 answers
82 views

WooCommerce - Empty Cart Page Reload issue

I have an issue when i remove product from the cart and the page refresh to the empty cart page. I use this inside my functions.php file to modify the empty cart page : add_action( '...
tonarii's user avatar
  • 35
0 votes
1 answer
47 views

How to initialize a state with use reducer so it don't clear on reload in React

I am working on a react shopping e-commerce website and i am using useContext and useReducer to set my cart state but each time i add to cart and reload the page my cart clears and reinitialize each ...
boop's user avatar
  • 3
0 votes
0 answers
28 views

NextJs 14 useShoppingCart and Stripe how to redirect to stripe checkout page after click button

I got error after click button function here is my code. page.js const { cartCount , cartDetails ,formattedTotalPrice ,clearCart , redirectToCheckout } = useShoppingCart(); const onCheckOut = ...
Newbie's user avatar
  • 47

15 30 50 per page
1
2 3 4 5
148