Magento onestepcheckout change billing address fields order - php

I want to change the order of the billing address fields on onestepcheckout page. I found from the admin onestepcheckout settongs "field position management" But a message displays here "Configure positions of fields in Section Billing and Shipping Address. You can display fields into 2 columns (eg: First name + Last name) or 1 full column (eg: Address + Null)".
I change the order her but its not reflecting. Also I am unable to find the billing and shipping address section. Pleas help me to find this secion.

You are probably using a paid 3rd party extension so the best option would be to contact extension provider support to get the answer.
And in all cases when you are using paid extensions try to solve your issues with support first then ask as:
other developers most probably don't have access to source to help you out
your questions in open internet are indexed and may just cost a sale for the extension provider
your questions in open internet might not get the extension provider attention

You can do that from Admin > System > Configuration > Onestepcheckout
http://www.YOURWEBSITE.com/index.php/admin/system_config/edit/section/onestepcheckout/

Related

How to calculate dynamic shipping amount based on address in Magento 2.4

In my shopping card build using Magento2.4.2 , I need a dynamic calculation of shipping amount after going to next step after entering the shipping address. What I need is to make a third party API call to calculate shipping value based on address entered. I begin with the following URL but It gives a static shipping value only. I have attached the screenshot of step1 and step2 which will make some sense of what I need. I want to customise the module given in the link to achieve this. I have referenced many articles but could not find a solution. Someone please help to achieve this. The code I have added in same as in the link here
Step 1 : After entering address
Step 2 : Before finalising payment. Here the shipping should not be 0 it should vary according to the address value
Note: I can manage to do the third party call, leave it for me, What I need is to get is where to hook the Magento to modify the shipping value.
There is a good module to handle this kind of things that you may want to take a look at. I think it answer perfectly what you are trying to achieve. Owebia Shipping methods : https://owebia.com/doc/en/magento2-module-advanced-shipping
It's allowing you to add a config file that determines all available shipping methods, specify the prices using all the information you want from the cart and much more.

Magento - Remove Billing and Shipping Information when buying downloadable products

I run a Magento Shop that has several downloadable products, some come for free with a downloadcode when people buy other products or they get our vouchers from somewhere else.
So there are 2 Scenarios, 1. people buy downloadable products only, pay with paypal, or 2. people download products for free, if they have a voucher.
Its rather annyoing for many people to enter billing information although they are only downloading files as guests and we don't need a billing info.
Did anyone ever come across a way to get rid of the billing info when people are only downloading products? Which means they can actually check out with email only, like its done on pages like bandcamp.com?
Thanks a lot for your ideas.
You are not going to like this.
I don't think it's possible, not within a reasonable cost, to remove the billing address from Magento.
It is deeply embeded in the orders mechanism.
For the shipping address, this should be done out of the box.
If you have only virtual and downloadable products in your order the shipping address and shipping method steps should not appear in the checkout.
But if you insist in doing it I can give you some pointers on where to start.
First you will need to modify the onepagecheckout controller or even better write your own checkout controller that handles your needs.
Then look in the Mage_Sales and Mage_Checkout modules for the text getBillingAddress and setBillingAddress and handle the cases when these values can be null.
Here is an example to understand better what I'm talking about.
In the sendNewOrderEmail method of the order model there is this
$customerName = $this->getBillingAddress()->getName();
You need to change this in case the billing address is null. If it's not null let it work as it does now.
Maybe I should be more clear, I don't necessarily need the remove the billing completely. I only need a name and an email address to send the purchase email with the download links. But I need to get rid of Street, Tel, City etc. or set them not-required, but only if all products are downloadable.
Magento already checks whether we need shipping or not based on the shopping cart.
So I would think of something like
check in OPC if we need shipping (or alternatively, all products are downloadable)
change billing fields to "not-required" or remove them
2a. If Magento requires an address, maybe set a dummy address hidden from the customer???
cheers Marek

add billing address field in magento

I need to add a one new billing address field
which should be shown in frontend and admin both also in packaging slip.
For this I have search on google and I found the below link
http://www.magentocommerce.com/wiki/5_-_modules_and_development/how_to_add_custom_field_in_billing_and_shipping_address_in_frontend_and_backend
I have exactly follow all the steps they have suggested ,
but the new field is not appeared in the admin at the customer address section.
I am using the magento1.7.02 version.
Please suggest me what could be the issue or the changes should be.
I have added fields in magento admin panel
using the steps given in the link, directly in the database.
http://excellencemagentoblog.com/magento-adding-custom-field-to-customer-address
Then insert a record and check.
For checkout page, add the field in the path
/app/design/frontend/base/default/template/persistent/checkout/onepage/billing.phtml
Then you have add the address format using the above url. Kindly let me know, if you have any clarification.

VirtueMart Custom Address Fields

I'm building a shipping module for Virtuemart 2 for a South African Courier Company, and I need to add a few extra fields to the addresses, and change some existing ones.
I have to add Location Type (Drop down), Building Details (Text) and pre-populate state and city with my own fields (Drop down).
I already managed to find a solution for State, as there is a database table called _virtuemart_states, and adding to that seems to work. However, that’s about as far as I get...
The extra fields should be read and saved by my shipping module for later use... And should also be saved to the address so that a client can check out later using the same address.
try this,
I think the VM2.x is already providing those option.
You can add as many as custom address fields from back end
Under configuration of VM - > Shopper Fields.
www.yousite.com/administrator/index.php?option=com_virtuemart&view=userfields
If you are planning for shipping plugin just check the code for creating custom address fields and try that in your plugin .
Hope its help you..

I cannot find a link for Purchase Order in zencart

I have installed super order , ty package tracker and Purchase order plugins in my zencart.
There are links for showing for all in the zencart configuration dropdown except i cannot see a link for the purchase order module under the configuration in admin panel of zencart.
When i see the configuration_group table in database i found that sort_order column value is the same for the super orders and purchase orders but the configuration_group_id column value for both are different. I guess if this may be causing the problem, i really cannot find the solution. Although when i give the link manually for the purcahse order settings i see its details but i need that link in the drop down under configuration
Thanks for help
Sounds like your module hasn't registered itself to the Admin Menu system. If it's not registered to the menu, then the security tools won't allow it to show because it will appear as though you're not authorized to use it.

Categories