All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
50 views

magento 2 remove shipping amount from cart total

I want to remove shipping amount from cart page because we do not provide estimate shipping amount calculation block. Also, when customer add product to cart then its display grand total without ...
1
vote
1answer
66 views

Checkout Cart page shows 503 error

I am using Magento 2 website. I got the error like following when redirecting to checkout/cart page. Once deleted all the products in cart and tried to add all the products again and its seems to be ...
1
vote
0answers
460 views

set custom shipping amount programmatically in Magento2

I am trying to set the custom shipping amount to quote or order without shipping method. Main thing is that shipping amount have to be stored in the database. Please help me for the same .. My ...
6
votes
1answer
472 views

Magento 2 : How to Get Shipping Quote (Shipping Calculator) on Product Page

I want to display the Estimate Shipping and Tax section on the product page in Magento 2. Any guide how can I achieve this? I don't need the code but If you can provide any guidelines that will be ...
1
vote
1answer
383 views

Magento 2 CityId does not have corresponding setter?

I have created an customer address attribute city_id while i am trying to add this attribute in the below following REST APis Getting bellow error. Property "CityId" does not have corresponding ...
1
vote
1answer
2k views

Magento 2: how to programatically set free shipping from an observer?

I need to set free shipping in observer, under certain very specific conditions. I can't have free shipping enabled in the back end because customers shouldn't be able to select it. I already tried ...
3
votes
1answer
887 views

Creating Order and Collecting Totals

I'm having a very hard time collecting the right totals when creating an order by code (magento 1.9, php5.4). I'm creating a quote as you noramlly would, added products and shipping/billing address, ...
2
votes
1answer
2k views

Creating Quote Address the right way

I'm trying to create a quote address programmatically, everything is working fine and the order is created, however this is after 2 workarounds im not sure why i need them, I'll list all the ...
3
votes
2answers
422 views

Change estimate shipping country programatically

I want to change the country in estimate shipping (cart page) programatically in my module (meaning user clicks on a button in footer on homepage and I change the shipping country on cart page for ...
1
vote
0answers
46 views

Magento 1 problem adding shipping price

Been struggling with this for a week now. I have some code where I create a quote and add shipping details but I cant get the shipping price to save on the quote. Everything else such as the shipping ...
2
votes
0answers
613 views

Magento 2: DHL API Hong Kong Address Issue Due to Quote Session

When we put Hong Kong Address as shipping. Hong Kong address is saved properly. For some time we face this issue, that it's not displaying Shipping Fee. City as as Hong Kong. It's already in the ...
1
vote
0answers
3k views

Update shipping address programmatically in magento 2?

Basically the store have 4 currency and when user change currency the default shipping country should be updated. Example USD - shipping country USA GBP - shipping country UK EUR - shipping country ...
0
votes
1answer
1k views

Set shipping address for a quote

I want to set shipping address for a particular quote. I load quote: $quote = Mage::getModel('sales/quote')->load($quoteId); I load address from a customer model: $shippingAddress = Mage::...
4
votes
1answer
3k views

How to get quote and update total through AJAX Magento 1.9

In cart page when postal code is entered and pressed get quote button then it submits one form and shows the rate of that postal code after that update button appears and clicking on that updates the ...
1
vote
1answer
631 views

How to set a custom free shipping amount for each quote?

I need to set a custom free-shipping threshold(in config this is carriers/freeshipping/free_shipping_subtotal and can be set in the back-end) for each quote subtotal. So to quotes above this subtotal ...
2
votes
0answers
650 views

How to apply custom shipping rate dynamically(on cart and checkout)?

I need to apply free shipping rate to a quote on the fly, once some condition is met. This condition can change when subtotal changes or user logs in/out. Once applied I'd like it to persist from cart ...
0
votes
1answer
108 views

Getting Package Qty on Shipping Methods template (answered)

I want to get the number of "shippable" products in the quote/basket on the template file checkout/onepage/shipping_method/available.phtml. The aim is to tell the customer at that point how many more ...
1
vote
2answers
399 views

“Get Quotes” returns no Error if there are no rates avaliable

It's always a good approach to show any result (negative or positive) to the user. In my case, when I click on the 'Get quotes' button on My Cart page and rates are available — it's OK. But when ...
1
vote
1answer
2k views

How to get shipping amount when it is not set in shipping address

I recently added an extension to show the shipping charges in cart page. It calls an observer upon the event sales_quote_collect_totals_before and sets the shipping address to default. I have a ...
1
vote
1answer
3k views

Change shipping price from an observer

I have Table Rate shipping method where the shipping price is set to 5 GBP and also free shipping is set when subtotal is more than 35 GBP (a csv file is imported). Also there is an additional ...
1
vote
2answers
2k views

Get Shipping Methods via observer

What event do I need to observe to see what shipping methods are available for a given quote
0
votes
0answers
46 views

Show Shipping Cost based on Grand Total on Cart page [duplicate]

I have a requirement where i need to show free-shipping if grand total is more than some value or else a fixed rate ( flat rate ) should be displayed on Cart page. How can i set shipping cost based ...
0
votes
1answer
1k views

How can I show shipping methods and rates on a CMS page?

I am trying to add shipping estimates onto a CMS page in Magento to display shipping methods, estimated shipping delivery dates and rates etc... I have a module (meanbee estimated delivery) which ...
1
vote
4answers
4k views

Remove shipping method from quote?

Is there any way to remove shipping method from quote, programmatically. I have try this code Mage::getSingleton('checkout/session')->getQuote()->unsShippingAddress(); but not working. And ...
1
vote
1answer
47 views

Force a quote to take the default shipping methods, ignoring any site-specific settings

I need to intercept quotes and have them use the default shipping methods and not use the shipping methods defined on a website level. Is this doable? I've dug through the code for hours and can't ...
1
vote
3answers
13k views

Converting default shipping address into a quote address

I'm working on a custom module that will display shipping estimates on the product page. All of my customers are required to sign up and log in (it's a trade-only website), so I have the customer's ...
1
vote
0answers
1k views

Get a quote(Shipping methods estimation) not working in first time [closed]

I am using aheadworks iphone theme in Magento 1.7.0.0. But the get a quote or calculate shipping section is not working in first time. I have invested the issues and found that when I add product to ...
16
votes
5answers
9k views

How to check if billing and shipping address are equal?

I'm trying to check if billing and shipping address are equal when creating invoice PDFs. What I've tried so far was: $order = $invoice->getOrder(); if( $order->getBillingAddress()->getData(...
2
votes
1answer
1k views

Stop Magento from automatically updating Shipping Quote

Magento's default behavior seems to be to update a shipping quote for every single modification to a shopping cart. I find this very undesirable because it can cause the shopping experience to become ...
1
vote
1answer
2k views

Why some delivery methods are not available for some customers?

I have 4 shipping methods. The old customer gets only 2 methods. I've created the same customer with another email. It gets all 4 shipping methods. I dived into code and DB table ...
1
vote
3answers
4k views

USPS - “Sorry, no quotes are available for this order at this time.”

I have been all over looking for a solution for this. Unfortunately, nothing I tried so far seems to work. I started receiving this error a while ago. When a customer tries to get a shipping quote in ...