In the Volusion shopping carts "soft add to cart" feature, which is turned on in product options with "Enable Add To Cart Popup", the popup shows the "Subtotal" of products currently in the cart.
The issue is this Subtotal does not include quantity discounts and therefore shows customers a higher price than the actual Subtotal after discounts are applied.
For that reason, we would like to display the cart Total, which includes any quantity discounts applied.
The problem is, I cannot find a place where this can be done in the HTML we have access to and if I were to find it, I'm not sure of the proper Volusion syntax to use to call up the Total instead of the Subtotal.
Thanks!
I had a different issue, but the same problem (soft add to cart did not display the proper info).
In my case, we allow engraving on our products, for an additional charge, and when selected this option was not displayed in the popup cart. As a result, customers were not sure if they chose it or not.
My solution was to add a Shopping Cart block to the page, as part of the template, using jQuery.
If you call http://yourUrl/AjaxCart.asp you'll see the discount info you need in the JSON data, as well as the line items in the order.
Related
I know the location of the prouduct page is view.phtml and calculate price in /varien/Product.js, Abstract.php for custom option prices' labels. (I had made some modifcation for these files)
But what about the shopping cart's? i know default.phtml is about the frontend and get price from Data.php but what about the custom option values? Does it reload the price like Product.js?
I want to standardize the prices in my magento but they having different custom option price.
So for example consider i have offer a half price discount for the product so (karat tone : 18k +37.5$) in my product page but (Karat tone : 18k +70$) appear in my shopping cart (no discount)
The product price is fine in my case, only the custom option has problem
You only need to tell me where does the custom option of the shopping cart local.
None of these paths helps i presume its in the backend, inside mage or so observer file.
Our company sells pharmaceuticals online and by law we are limited to how much of a particular drug a customer can purchase.
For singular products with one brand this is easily controllable through default Magento functionality, my problem arises when we have different brands of a particular drug.
In a nutshell I can currently limit a customer to 1 pack of paracetamol from brand A but there is nothing to stop them getting another pack from brand B at the same time.
I would like to be able to check the cart for products with a particular attribute and limit them to 1 per cart. Ideally this would be when the customer clicks add to cart and the message would be displayed via the default Magento alerts that we currently have.
EDIT: I think the easiest way to solve this would be to check the SKU codes currently in the basket when adding a product to the cart. If there is a match, Throw up an error else add the item to the cart.
I think this link will help you but you need to modify as per your requirement. http://ceckoslab.com/magento/magento-check-if-product-is-in-cart/..
This link is to check the cart whether the same product is added or not? So modify this as per you requirement
You can set maximum allowed quantity in cart from admin panel. System->configuration. From left tab see catalog->inventory. Set Maximum qty allowed in shopping cart to 1.
If you want to add check on whole cart. see this paid extension
I have been working on a LiftSuggest - an automatic Product Recommendations generator.
Now,I have introduced a bundling functionality which will bundle two products and assign discount.
For example,
On product page of A of the client's site,I(LiftSuggest) displays a bundle Saying "Buy A and B together and avail 10% off on net value". Now, when the user clicks on the add to cart button , I want both the products to be added simultaneously to cart. I had implemented the solution proposed on this link, but I need the products to be added on click of add to cart button,without entering the quantity or providing the check box.Just imagine that you can see a box( container) containing two products and on click of add to cart button-in that div container itself, both of them should be added to cart.I can make out that I need to store both the products in session, but I don't know exactly how to proceed.
Scripting language used:PHP
Please Help!
There are cart rules for various shopping carts. You can manipulate those rules through coding and achieve the desired output.
What's the easiest way to pre-fill a shopping cart in Magento?
There is the CartController on the Checkout route, which has an "add" method, allowing you to do stuff like:
http://<shopurl>/checkout/cart/add?product=1
But what to do when you need more items in the cart? There is an "addGroup" method, but that only takes into account previous order lines.
When digging into the Checkout/CartController/addAction, there appears to be an argument "related_product". It enables you to do this:
http://<shopurl>/checkout/cart/add?product=1&related_product=2,4
Downsides are you only get a message about the main product added, and for the related products you cannot specify quantities. Upside is, you can populate a cart like this with several items at once without even touching Magento code.
If you want to add more items of the same, just repeat the id in the array
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?