Doubled Subtotal and grand total in checkout magento 1.5 - magento

After adding products in shopping cart, move to checkout page. when return back to Shopping Cart page again either clicking back link or top menu Cart item link, Subtotal and Grand Total price becomes doubled.
When adding new product to cart again subtotal and total price become doubled.
Earlier It was working fine, when move to cloud server, this issue raised.
I am using magento 1.5
Please anyone help me out, this issue is coming in live site.

I had a similar problem. Check this post out: http://www.magentocommerce.com/boards/viewthread/227560/P15/. And check the sales_flat_quote_address table if there are to much address entries for the quote_id. I don't know how that happens but if there are more addreses it could happen that the quote is been doubled or trippled
chreers

You have not provided enough information.
First of all, magento 1.5 does not have this bug. The bug you are facing is likely to come from custom work that was done on the project.
Is the site using an ajax cart? if so, follow the add to cart methods it uses.
Was there any custom work done on the cart controller?
other than that you really have not given enough information for people to attempt to answer this.

Related

Sharing/transfer cart between customers in Magento

Is it possible to transfer any quote of 1 customer to another customer in Magento?
I have worked on it and found a solution, to share 1 customer's cart items to another customer's cart use below code, in observer or anywhere you want, as per your need:
Mage::getModel('sales/quote')->load($quoteId)->setCustomerId($customerId)->save();
This solution is working for me!

Magento 1.9 Custom Math Pricing / Simple Product Issue with Price

I've installed an extension, Custom Math Pricing by Mico Solutions, and I am experiencing 2 issues with my site now.
Issue 1: When I customize the product, the price is updated correctly on the product page, however, when the product is sent to the cart, a portion of the price is missing (length x price per foot). I checked in the database to look for the price and could only find records of the wrong price so the price is only showing for the product page. The portion of the calculation that is missing from the price includes an attribute which is set as a variable rather than custom options. The custom options calculate perfectly.
Issue 2: When I customize a simple product and add it to the cart, I cannot go back to that product page and customize it a second time, the price remains fixed on the "base" price. Let's say the product has a base price of $10.00. When I customize it, the price stays at $10.00 but is different in the cart. I have to delete my browser cache and cookies in order to customize it again and by doing that, my cart is emptied.
So my question is, where in the code can I find the pricing that is being sent to the sales_flat_quote table in the database. Additionally, how can I debug or correct the issue of customizing a product a 2nd time?
It seems like you've got an issue with conflicting extensions. Your best bet is to go to the Admin modules section (Admin > System > Configuration > Advanced > Advanced) and disable anything else that appears to deal with product pricing. Reset the cache and index and try again. I am somewhat familiar with this extension and it's not compatible with configurable products... make sure your products are simple product types when adding products.

Magento Forgets Old Session Until Adding Product to Cart?

I'll come back to my store after 12 hours or so -- plenty of time for the cart to expire. My header shows no cart items, and indeed going to the cart shows that it is empty.
When you add a product it will add the new selected product and then the cart magically shows all the products from your last visit.
Any idea on what might be causing this? I'm on Magento 1.6.1 and storing sessions in the database. Let me know if you need to know any of my configurations.

Magento: Shopping cart price rule gets applied, but discount not subtracted from subtotal

I have created a shopping cart price rule in my Magento store (version 1.4.1.1), and it seems to get applied without issue on the frontend, but the discount isn't actually reflected in the subtotal or final total. The original item price is $45.00, and the discount should be $35.00, making the final price $10.00. Here are some screenshots of the setup. (Sorry, because I'm a new user it won't let me post images directly in this posting.)
http://imgur.com/a/hdYDb
Main rule page
Actions page
Cart showing that promotional code was applied
Reviewing order (last step before submitting order)
This particular item has some custom options set, which set the pricing for four individual options. The price for the product is $0.00, and then each option has it's own price (I didn't set this part up, so I'm not sure if I'm missing something from here too). Here's a screenshot of the product custom options page: http://imgur.com/uO9HG
Any thoughts? I'm fairly new to Magento, so it's possible I'm just missing something obvious. Thanks in advance for any help or guidance!
I actually JUST figured out what was going wrong, or at least, I figured out a solution, though not sure exactly why this was affecting the shopping cart price rules. You're right that I wasn't even able to get a simple price rule to work - it simply wasn't working no matter how I changed the rule. Anyway, while working on another issue, I realized that I was missing the Subtotal/Grand Total box on the front-end of the shopping cart (I installed a clean copy of version 1.4.1.1 on my localhost, which is when I noticed it was missing from my live site). When I re-enabled the Subtotal/Grand Total box, the rules started working again. (I suppose now that Magento has a place on the front-end to show the discount, it actually applies it, whereas before it would just do nothing.)
So, to re-enable the subtotal/grand total box, in the back end, I went to System > Configuration > Advanced > Enable the Mage_Tax module. Again, not sure why it was disabled in the first place, and I'm not sure if this affects anything else on the site, but it's been up for awhile now and I haven't noticed anything awry. Here's a screen capture of it working: http://i.stack.imgur.com/kjl6S.png
I think the problem comes from using SKUs with your custom options combined with restricting your price rule to the product SKU. Magento combines them using a hyphen - place a test order to see if this is the problem.
The SKU in a test order I made comes out something like this;
[ORIGINAL_PRODUCT_SKU]-[CUSTOM_OPTION_SKU]
At least, that's the result I'm getting from version 1.5.0.1
The quickest solution I could find was to match the rule on the product url key rather than SKU. It isn't the most intuitive solution, but since you wouldn't change the URL on the product (I hope), it will work where SKU's with custom options fail.
In version 1.4, the URL key should be available to choose instead of SKU already. So you can just select url key instead of sku and insert your product's correct url key in your shopping cart price rule. Just replace "SKU is ..." with "URL key is ..." inserting the correct url key for your product.
In version 1.5 I had to enable "Use for Promo Rule Conditions" on the url_key attribute like this;
Log in to Magento admin area
Navigate to Catalog > Attributes > Manage Attributes
Locate the Atrtibute Code "url_key" and click to edit it
Change "Use for Promo Rule Conditions" to Yes
Save the changes
you may need to reindex the Product Flat Data index at this point
Then I could use it in my price rule.
Had this same exact problem on CE 1.9 running PHP7, applying the Inchoo "PHP 7 compatibility extension for Magento 1" solved the issue!
https://github.com/Inchoo/Inchoo_PHP7

Estimate Shipping and Tax issue in magento

When I add a product to my Shopping Cart, it does not display the standard shipping calculation. But once I proceed to the checkout page, and edit the shopping cart it shows the estimate price calculation.
How can I display the shipping when a visitor adds the product to the shopping cart?
I don't quite understand what you are trying to ask. This may be a shot in the dark, but when you first get to the cart, in order to get a shipping quote, you need to enter in your zip code. Perhaps if you've already gotten into the checkout process and have entered in an address, at that point since you've entered in a zip code already maybe the shopping cart page recognizes that?

Resources