Skip to main content

All Questions

-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
154 views

How to Make Stripe Checkout Sum Up Values?

Context: e-commerce Store that sends data to the Admin Dashboard and processes payments via Stripe Checkout. Built with React, Next.js, Prisma DB. ISSUE: Instead of accounting for the shippingCost and ...
Anabel's user avatar
  • 1
0 votes
1 answer
52 views

CartService and Authentication

I noticed that if you go to an online store, it allows you to view products and add them to the cart without authorization. I suppose I can achieve this, for example, by adding anyRequest().permitAll()...
ok buddy's user avatar
0 votes
1 answer
100 views

Shopping Cart Update Total Function doesnt work

I am building an eCommerce store website, and I am facing an issue. The function updateCartTotal doesn't work at all. The script is also added to the bottom of the HTML body. Thanks in advance. HTML: &...
Shehzad 's user avatar
0 votes
0 answers
273 views

Woocommerce disable place order button for product with specific category and shipping zone

I am trying to disable the place order button and make a conditional message that is gonna be displayed at the cart and checkout page when: A) the customer chooses to buy an item from a specific ...
dimitris24's user avatar
0 votes
0 answers
52 views

how to add an item to cart using same function for all add to cart button

//universal variables for cart { var cart = document.createElement('div'); document.body.appendChild(cart); cart.id = "cart"; var itemshow = document.createElement('div'); document....
Pentakota Lalith Prasad's user avatar
1 vote
1 answer
177 views

What is the best way to create cart in nodejs,expressjs with hbs?

My question meaning is that what should we use to create cart in e-commerce site in nodejs. Should we direct add the data in mongodb or first use to create session from collected items. What should we ...
Sayed Suliman's user avatar
0 votes
0 answers
50 views

How to get total cart in Django?

I have 2 models: order and cart this is the order's model: class Order(models.Model): user=models.ForeignKey(AUTH_USER_MODEL, on_delete=models.CASCADE) product=models.ForeignKey(Product, ...
Erij Maherzia BEN BRAHIM's user avatar
0 votes
1 answer
548 views

Django: Add Minus Cart Button Using JQuery

My models: class Cart(models.Model): cart_id = models.CharField(max_length=255, blank=True) date_added = models.DateField(auto_now_add=True) class Meta: verbose_name_plural = '...
Vinh Nguyen's user avatar
-1 votes
1 answer
1k views

How to add localStorage using javascript?

How do I add a localStorage for my code? I'm just a beginner programmer so I don't really know that much about javascript. I've watched other youtube videos but it didn't help me with my code. // cart ...
xento's user avatar
  • 11
0 votes
2 answers
100 views

Show conditional alert based on product supplier in shopify

i'm running a dropshipping store on shopify, dawn theme, where i get the products from 2 different suppliers who obviously ships separate. I need to add a custom script to check the location.id for ...
gianmarco varrone's user avatar
0 votes
1 answer
1k views

Shopping Cart with ASP.NET MVC 5

Does anyone know where I can get some high quality step by step info on creating a full shopping cart for an asp.net mvc 5 ecommerce application? I have seen examples out there but none of them talk ...
CodeQuest's user avatar
  • 123
1 vote
0 answers
1k views

Is it a good idea to store shopping carts in database with Laravel

I am developing an e-commerce website and I am expecting the users to visit the website from both mobiles and computers, so I can't store the cart in a session like in darryldecode/cart Is it a good ...
Lama's user avatar
  • 67
0 votes
0 answers
62 views

What steps should the add to cart operation go through?

I am planning to make an e-commerce site and there are some steps that I need to think about. For example, I will add a product to the cart. In your opinion, what stages should this process go through ...
srkn's user avatar
  • 45
1 vote
0 answers
483 views

Shopping cart for guest user in stateless way

I am developing shopping website for my business myself! I am using asp.net core web api for the backend of my project and i also use jwt for my authentication scheme! I want that a guest user can add ...
AlirezaEiji's user avatar

15 30 50 per page
1
2 3 4 5
14