Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
The store I'm working on (U 7.4.3, M 2.1.0, FT 2.1.0) is now working reasonably well, however I have an issue that I can't find a fix for.
In the store there are some items which do not require shipping - donations, sponsorships etc. The FastTrack store I am basing this on doesn't seem to know what to do with an item that has the 'This variant is shippable' box unticked. It allows me to go through the purchase process, asks me for a Shipping Address (irritating but not a problem I suppose), but then stalls at the ShipRateQuote page requiring a Shipping Method.
Ideally I'd like to bypass this part of the flow altogether, prepopulating this value with a zero if necessary. I've experimented with leaving the item as shippable, but with a weight of 0, creating a Shipping Method called 'No shipment required' and a value of zero to apply to items of weight 0 - 0.1, but I find I have to create a shipping cost of zero for all shipping providers (doesn't let the lowest weight range for a shipping provider start at greater than 0 ...).
There must be a slicker way to do this. has anyone found one?
That's on my list to look at for the 2.2.0 release. Hopefully, I'll be on it by the end of the week.
OK that's great. I'll watch for progress!
Hey Rusty, did this make it into 2.2.0? I've upgraded to 2.2 and can't check out if all products are set to non-shippable...ie the shipping methdod drop down is empty and I can't continue.
It was fixed in 2.2.0. In my tests, if no items are shippable it skips the drop down selection, if some items are shippable, it still requires the selection. I know there were razor updates to do this, which I'm guessing you may not have merged in as you love my styling so much =)
They are just little tweaks like:
var hasShippableItems = CurrentCustomer.Basket().HasShippableItems();
var noShippingUrl = ExampleUiHelper.CheckoutWorkflow.GetPageForStage(CheckoutStage.PaymentMethod).Url;
Model.SuccessRedirectUrl = hasShippableItems ? ExampleUiHelper.CheckoutWorkflow.GetPageForStage(CheckoutStage.ShippingAddress).Url : noShippingUrl;
Model.SuccessUrlShipRateQuote = hasShippableItems ? ExampleUiHelper.CheckoutWorkflow.GetPageForStage(CheckoutStage.ShipRateQuote).Url : noShippingUrl;
Maybe just go to the repo on GitHub and cut and paste the razor?
Perfect! I hadn't merged the razor views as I'd changed the markup heavily for the current site design...and didn't think there was any 'logic' in them.
I try not to put much logic in there - however in this case, it seemed like the best/quickest way to go =)
That sounds like what I'm after. Is that just a Merchello update or do I need to update FastTrack as well?
Got it working now copying and pasting the Razor additions from Github.
I am building a project that needs to have an option of 'Collect from store' so technically all the items are shippable... but if the user says they will collect from store I won't need to collect a shipping address....
anyone know what part of the merchello code base I should be looking in to to achieve this?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted