Versions Compared

Key

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

...

To show this informations, you need to add the following code into the file  /templates/orderforms/standard_cart/configureproductdomain.tpltpl . Replace "standard_cart" with your shopping cart template.

...

The amount of free domains per billing cycle can be shown during ordering


Open the file  /templates/orderforms/standard_cart/configureproduct.tpltpl and search for the payment cycle output. It begins on line 55.
Replace "{$pricing.monthly}" with "{$pricing.monthly|replace:"{$FreeDomainsString}":"{$AmountFreeDomains.monthly} $FreeDomainsString"}" and continue replacing for all other payment cycles.

The result should be as following:

...

Here is the code of our example. The code must be added into  /templates/six/clientareacancelrequest.tpltpl . Adjust it how you need.

...