All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
19 views

Two item category coupon code with fixed amount for whole cart

Magento version, 1.9.2.4 How do I generate a coupon where a person puts in there cart one item each from two different categories and then gets a fixed discount off the whole cart. But, if only ...
0
votes
1answer
78 views

Magento 1: Cannot update shopping cart

I have tried to update the core functionality, <?php echo $this->getBlockHtml('formkey'); ?>(after form tag begun) and also added this too: <form method="post" action="<?php echo $...
0
votes
0answers
91 views

Customer Group price not add in cart page when we edit quote and quote have bundle items?

$product = Mage::getModel('catalog/product')->load($item->getProductId()); $product->setCustomerGroupId($customer->getGroupId()); $product->save(); $options = $item->getProduct()-...
0
votes
1answer
70 views

setCustomPrice is reset in checkout process

I want to add a product to a cart and change its price to 0. Currently I have : $request = new Varien_Object([ 'qty' => 1, ]); $cart->getQuote() ->addProductAdvanced(Mage::getModel(...
0
votes
0answers
37 views

First Name Last Name in Login not compulsory

I have made First Name & Last Name not compulsory in Magento. Now somehow on the cart page when I click on checkout button it goes to account info. Can I solve this somehow? Have never done such ...
1
vote
0answers
48 views

add to cart button for product list page [closed]

.what steps should I consider the description of ADD TO CART BUTTON for category page and product list page step by step.
0
votes
1answer
68 views

How to group the products to their respective category in cart page?

I want the cart page to be like the added products like apple, orange etc into fruits category and fish into fresh fish category. How can i group them accordingly in the cart page ? For example: Cart ...
1
vote
0answers
40 views

How to give add product option directly in cart in magento

I came across a requirement in one of my project where we need to accomplish the same. Requirement:- Even though the user has not added any products to the cart, they should be able to open cart and ...
2
votes
1answer
468 views

Change every bundle item price on addtocart

I want to change each and every selected bundle items price on addtocart How can I do this. At present I am doing like below : $item = $observer->getQuoteItem(); if ($item->getParentItem()) {$...
3
votes
2answers
285 views

Does the shopping cart model encapsulate shopping cart items?

I'm currently preparing to take my Magento Certified Developer test next Tuesday. A couple of the practice tests I have encountered have the following question: Which object never encapsulates any ...
5
votes
1answer
10k views

How to add custom block at the /checkout/cart/ page?

I am working on a custom extension and i want to add additional block to the /checkout/cart/ page. Take a look: Here is my config: <?xml version="1.0"?> <config> <modules> &...
3
votes
3answers
10k views

Get Cart Subtotal including tax

I'm trying to get the subtotal of my cart in a variable. However, I need the subtotal including tax and at the moment it gives me the subtotal without the tax. This is my code: var second_number = &...
1
vote
0answers
208 views

cart not loading properly after ajax login at checkout

I'm trying to add an ajax login to a custom checkout, which is half working. The login goes through, and I'm calling 2 blocks and returning the html in the response. The main content contains the ...
1
vote
1answer
589 views

Checkout only 1 item from magento cart

I am trying to implement Buy Now feature and I find that if there are 2 items from before in cart, total of 3 items are shown in Checkout page when only 1 was expected. All solutions that I have ...
0
votes
0answers
99 views

How to update 'number' of items added to cart pop up?

When I add an item to cart, it is getting displayed in cart pop up. But the numer of item is not getting upadted. Below is my coding to display the items in cart pop up. Someone please guide me to ...
0
votes
1answer
264 views

Modifying the layout of product options in both shopping cart page and Order review checkout section

I would like to display the product options differently which appear: In the shopping cart page In the Checkout section "Order review" Here are pictures showing what I need to do: When we get ...
0
votes
1answer
560 views

Magento Add Custom Option on Product Page

I want to add text area displayed on product page for all products, when a customer enter any data to that textarea, that data will be shown in the order information. I override cart controller but ...
3
votes
2answers
1k views

programatically creating order

I am programatically creating order for regsitered user but I keep on getting error. How can I fix it? Below is my code: Error: Fatal error: Call to a member function getTypeInstance() on a ...
2
votes
1answer
1k views

Magento Shipping returning “Sorry, no quotes are available for this order at this time.” After add the Third Store

My friend had Magento with two-multi store and he add the third store as the duplicate of one of his store. Now, his third store's card keep returning following error "Your order cannot be completed ...
1
vote
2answers
867 views

Cannot translate popup message when adding a product to the cart

If you add a product to the shopping cart, a message pops up on top saying "Cannot add the item to shopping cart." The problem is that you need to log in first, but this is not clear to the customer. ...
-1
votes
1answer
4k views

How to set customer id for a quote in Magento?

I added a product into the cart and tried to map customer id, email to that quote using the code below $product_id = 123; $qty = 1; $product = Mage::getModel('catalog/product')->load($...
4
votes
1answer
1k views

Update cart quantity for a grouped product - grouped products not properly supported in magento core code

I'm going mad on this one Scenario: my simple products all hidden. what the visitor sees are grouped products with the simple products associated. I can add to the cart programatically: $params['...
5
votes
2answers
762 views

How to automatically add a fixed tax in cart

I have been struggling to find a solution two days now... and it seems just impossible. All I want to do is to let the customer know about the shipping tax which is a fixed tax I've set ( flat rate, ...
0
votes
2answers
1k views

How to move cross sell products to main (left) column of cart on Magento 1.9

I want to move the cross sell products in 'view cart' (Magento 1.9.1.0) from the bottom of the right column to the bottom (below the cart contents) of the left column. How can I do this?
4
votes
2answers
2k views

Adding multiple configurable product variations adding first one multiple times

I'm trying to add multiple variations of a configurable product to the cart at once, and I've put the code together, but currently it's adding the right qty of products, but only using the first ...
1
vote
1answer
4k views

Fetching product url and remove product from cart

The following is code $itemsCollection = Mage::getSingleton('checkout/session')->getQuote()->getItemsCollection(); // get array of all items what can be display directly $itemsVisible = Mage::...
1
vote
3answers
1k views

Add products to shopping card that doesn't exist in magento database…via 3rd Party

We have a third party software to configure single products to one final product. The final product should be bought via magento. We don't want to import each single product into Magento and the final ...
0
votes
2answers
7k views

Where can I change the Shopping cart title?

On the checkout/cart page I need to change the Shopping cart title. Where can I find it in the code?
12
votes
5answers
14k views

Auto update cart quantity when change quantity

In the default cart of Magento, when the customer edit the quantity, he/she needs to press the button to update the quantity. Is there a way that the cart update the quantity automatically when the ...
1
vote
1answer
52 views

The event order when add product to cart?

When the customer adds a product to the cart, what is the list of events and the order of them?
1
vote
1answer
1k views

Cart shows default customer group instead of logged in group

I have a strange one. I took a new install of magento, and a new theme and connected them to an existing magento website db. When I log to my account as 'dealer' I can go to the homepages and ...
6
votes
2answers
16k views

How to empty cart or clear session “externally”

I have a unique workflow for redeeming vouchers on our site through Magento. I have a form that users use for inputting a series of vouchers to get products. It isn't "in" Magento as a CMS page or ...
2
votes
1answer
6k views

Add to cart button wont work

I found this code through Google to add a Button to my shopping cart page under where I have some products begin displayed. However when I click on the button, it redirects me to the shopping cart but ...
0
votes
2answers
3k views

item row total not updated in observer

I'm using checkout_cart_product_add_after event. I have requirement like this Tier Prices for Specific Increments I have written following code in my observer. But row total is not updated in cart ...
3
votes
2answers
503 views

how do I make configurable products with custom designs unique enough to add them as separate cart lines on reordering

I have built a model that can add some custom design info (link to pdg, design type, document id, upload location) to the quote items. The design screen is opened in a popup, and saves the design ...
1
vote
2answers
2k views

Do I need a module to display product attributes in the shopping cart?

I have a store with products that have attributes for colour and size that users have to select. I want to display their selection in the shopping cart and, googling around, all the suggestions for ...
3
votes
2answers
5k views

How to get $this->getAddToCartUrl($product) in magento

In my magento application created a phtml page in template/page/ folder.. Here displayed a products...Then there is a need for displaying $this->getAddToCartUrl($product) But it return null ...
15
votes
2answers
10k views

Creating Custom option and prize to just added product to cart using observer

I want to add custom option to quoteitem using observer which observer checkoutCartProductAddAfter event and fires after product added to cart. public function checkoutCartProductAddAfter(...
2
votes
1answer
1k views

Removing the “minimum purchase” notice

I'm trying to remove the notice in the cart about how the customer must have a subtotal of say $20 in their cart however I still want the restriction there for when the customer tries to go into the ...