Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The Currency object differs from the CartCurrency object. The cart currency is a simple object that is mainly supplied as a list of possible currencies so a select box can be created which allows the customer to change the currency. The Currency object has additional methods that help with conversion rates, etc. The Currency object is used on Catalog pages, and the CartCurrency object is found within Checkout pages.

 

CartCurrency object represents currencies that can be used during the checkout.  The selected field is present because the page will usually have access to a collection of possible currencies, and the current one will have selected = true.

...