virtuemart product not getting fedex v2 rates, what attributes fedex required? - virtuemart

I added some custom products in virtuemart from my custom component and added its weight and other attributes but fedex v2, does not get shipping rates for my custom added products while it get the shipping rates for other normal products. I want to know that which attribute does fedex v2 use? So that I can check about those. USPS is also getting rates for normal products and also for my custom product. But there seems to be some attribute that is wrong with my newly added custom product. So I want to know that what are the required attributes for fedex v2? Please tell if you know this or if you know fedex v2 attributes used from virtuemart then that is better. Because without that I think it is useless to change so many attributes one by one and without any certainty.
Please tell whatever you know about that , any clue will be appreciated as I don't know much about that.

I have got answer by myself :) The missing field was "max_per_package" and entered 9999 to it and it worked:)

Related

YITH WooCommerce Ajax Price Filter

Please I need to know where is the price slider filter I can not find it in the widgets!.
Do I have to add all filter options I need as attributes to the product? even category and price? This will make me make double entry for each product for category and price options for example. Please let me know as I am having difficulty finding support for the plugin although it’s very useful and free!. Thanks.
From this site you will find that.
https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/

Magento change shipping price when create order

I'm create order programmaticaly, and all works fine. But i need to change shipping price. I try to:
$shippingAddress->setCollectShippingRates(true)->collectShippingRates()
->setShippingMethod('flatrate_flatrate')
->setShippingAmount('200')
->setBaseShippingAmount('200')
->setPaymentMethod('checkmo');
But in admin it still shows Shipping & Handling InformationFlat Rate - Fixed €12,230.00
If you need to change the shipping price for all your orders, best way to do it is to change the config on the admin panel: System->Configuration->Shipping Method->Flat Rate, the Price field.
If this is something you need for different orders, the best way to do it is to create custom shipping methods. You can see Magento's guideline to do so, or this other article which is also nice.

Eedit order and shipping methods in Magento 1.5

When I'm editing order in Magento 1.5 in shipping method section there is a list of all available shipping methods. But when I change number of products or add/delete any product, all shipping methods disappear. Instead of shipping methods there there is a link: Get shipping methods and rates, but when I click it nothing's happend - page reloads and still there are no methods.
I have no messages in logs, where I can check what is wrong with it?
When you edit any order from the magento admin, magento will cancel that particular order and will generate a new one with the new order ID. Example if you have order ID 1234567, by editing this a new order will be generated with the ID 1234567-1
So once a new order is created from admin or updating products in existing order you will get a link called Click to change shipping method . Because shipping methods are dependent on products selected and shipping address provided in shipping address fields.
Now as per the issue you listed that you are not seeing any shipping methods after clicking link. This may arise with the following reasons.
You may not have shipping methods available as per the products rules (quantity, weights, product price etc).
you may be putting downloadable product which do not require shipping details
Another possible reason is that you might have missed shipping address fields.
you may have any shipping restrictions plugin installed that may applying any restriction rules.
You may have any java script error in you console. Which is stopping ajax to be completed after clicking the link. (check your browser console window)
You can debug it by your quote object. Try to get your quote object and see what are the information missing there. Is products are their in your corresponding quote objects ? is shipping details are there ?
If you still need any help in debugging let me know I will help you.
It sounds to me like you have a shipping extension installed? And/or an order editing module? The interaction between shipping modules and orders is precarious at best; developers cannot forsee the varied interactions which occur on our websites.
We just discovered MageWorx Extended Orders module. Amazing and reliable. Their overloading of the sales order grid as well as the order view is a great integration, combining order editing, custom shipping rates, allowing customized columns in the sales grid. And the module's price is very fair.
Previously, we used TinyBrick True Order Edit in concert with another module for custom shipping rates but they did not play well together... often with the same result you are seeing. Possibly the instability then was that TinyBrick tries a more focused overload of the order view.

Magento products use a custom price when added to cart

Situation
My client has a Magento catalogue of thousands of simple products (wheels & tyres). Some of these wheels & tyres can be purchased together as a package (4 wheels & 4 tyres), and in this instance they can be purchased for a lower price, which I'd ideally like set as a separate price attribute.
They cannot be bought for these reduced prices individually though.
I have already created a custom form and controller for adding these products to the cart using the standard price, which works fine, but I need to make it so that it uses the reduced 'package price' for each unit instead.
What I've Tried
I have tried using tier pricing, but this doesn't work because as soon as someone buys 4 tyres on their own, they'll pay the package price rate.
I've tried setting a custom price on the product when adding to cart, which works but obviously creates that price for the product for general purchase so isn't an option.
What I Need
I need to know if there's a way that I can create a discounted/custom price on the products added to the cart using my custom form? I've scoured the forums but I'm not come across a solution yet.
I don't mind using an observer if need be, but I'm a bit stuck right now! I know that once in the cart the products get their prices directly from teh database so I don't know if something has to be done to the quote object instead?
Any help or advice much appreciated.

how to add default variants to product in magento

I'm very new to Magento.I am having product with some variants like "size" with values "large XX,small XX,medium XX".I want the feature to make any one of this values as default in admin.
my screenshot explanation here
How can i do this
please help me!
When you say you want them to be defaults, you are being a little vague. Are you talking about using configurable products for this? Custom product options? When you say "default in admin", what do you mean? Which page are you referring to? More detail will help us answer the question.
Thanks,
Joe
As far as I know, what you are asking for is not a default functionality of Magento, but it shouldn't be difficult to add some javascript to allow you to force selections at page load time. Ultimately, it's just code, so it's definitely possible to do.
my suggestion would be to add a attribute to all you products called for instance "defaultselect" then you can enter your value easily from the backend to your configurable product.
so now you have a configurable product say a hat which comes in 3 sizes, and has 3 assigned simple products. set the defaultselect value to one of the size values
now some layout xml and javascript is required to get you product attribute to work with the magento selects.
first you want to actually include you js. this is done through the layout xml. you can include update using add js method for PRODUCT_TYPE_configurable handle
now the js. store the js in the skin js folder.
to make this work you would need to know the configurable product defaultselect attribute value we're testing against. this could be retrieved with your own ajax function to a method which checks if the current product has a defaultselect attribute and returns it's value or false.
if you have a value from your ajax function you can work with that ie you have both the returned attributes from the configurable product and magento will return the rest.
however after that it seems to get complicated your going to have to do something with the js magento aready uses to render product options

Resources