Shopper Fields Config in OPC (further explanation)

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Shopper Fields Config in OPC (further explanation)

Postby admin » Tue Jun 30, 2015 4:10 pm

If you are looking to make SHIPPING FIELDS mandatory, please use this column in OPC config:
Image

OPC custom rendering => will hide the field (you must add the html code manually to any opc theme)

Special case:
- when country field is marked as custom rendered, it will still be rendered in OPC as a hidden field with the OPC configured default address (country is required for many VM functions)

Trigger Ajax => if your shipping and payment DOES NOT DEPEND ON ADDRESS you can use no ajax mode and thus it can load faster (flat rate for any customers with only a single country in selection), if NONE fields are marked as "ajax fields" then the Ajax will get triggered only if the logged-in User switches the shipping address (from within the logged in theme). Ajax is also called upon the first page load of OPC to collect calculations.

Order field => IN VM3 THIS IS "cart field" AS SHOWN HERE:
Image
IMPORTANT: Opc will render order/cart fields ALWAYS EMPTY FOR LOGGED IN (AND ANONYMOUS) USERS ! These fields SHOULD NOT BE MARKED AS "show in account maintaince" or vice versa.

Custom config of the Order fields:
For klarna or other payment methods which require "Social Security Number" the order/cart field does not need to be stored in the Database even when it is displayed in the Cart and processed by the Payment

Add Shopper Field -> custom fields when using Vendor to add orders + shoppers via the Frontend (there is a view that can be linked for the Vendor from FE to create new users when the vendor is logged in)

Business / Visitor logic => If a field is marked as "business field" it will be shown/hidden per the logic of the OPC theme. For sandwitch theme the business fields are hidden by default and shown when the Business tab is clicked. The business fields SHOULD NOT BE MARKED AS MANDATORY AS USER CREATION MAY SILENTLY FAIL (for Customers that are not a business)

In all other cases, the fields when they are marked mandatory in VM, they also will be mandatory in OPC.

Best Regards, Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Shopper Fields Config in OPC (further explanation)

Postby admin » Wed Sep 02, 2015 6:06 pm

within the above image, no field except "customer_note" and "tos" should be marked as "cart field"

Image

otherwise OPC will:
- load it empty at every single visit of the checkout
- load it editable for logged in users
- default values will not apply (country, state, etc... )
- no ajax can be used for them (their change will not affect calculation, shipping or payment methods)
- they will render at the bottom of the bill to address (with their own ordering)

we will add a notice to the future opc and a quick fix to unmark them easily.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron