After passing through the get shipping address step, we will probably come to either the get shipping method or get payment method steps. These two steps share many similarities and so we group them together in the same section.
Both steps have a template of their own called get_shipping_address.tpl.php
and get_payment_method.tpl.php
. Both templates are similar in the way that after displaying the checkout bar, they called a function in the ps_checkout
class to list out the available methods. The ps_checkout
functions in turn uses the list_shipping_methods.tpl.php
and list_payment_methods.tpl.php
to do the actual work. All the templates we mentioned are found within the checkout template group.
To add to the list of similarities, both shipping and payment methods have their own API for a third party to extend VirtueMart. API is the acronym for Application Programming Interface and is the specification describing how you can write programs to interact with...