Jump to content

IOS Webmaster

Members
  • Posts

    3
  • Joined

  • Last visited

About IOS Webmaster

  • Birthday 02/25/1975

Contact Methods

  • Website URL
    https://infinityonlinesolutions.com

Profile Information

  • Gender
    Male
  • Location
    Mumbai

IOS Webmaster's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello Again, identified the issue, the package term was set as 1 year, 2 year, 3 year. Needed to change it to 12 months, 24 months and 36 months, then the above code is working. Another thing we would like to achieve is - Display the prices in the lowest to the highest order in the product "Term and Price" dropdown? Can you please help us with the same. Thanks and Best Regards, Santosh
  2. Hello, I would like to achieve the exact same objective as explained in the quoted post, i am running blesta 4.9.1. 6 years after this post was written, the code is changed now to: /plugins/order/views/templates/wizard/config.pdt - Line 39 // Set the pricing text to include or not include renewal pricing $prices[$price->id] = ($this->Html->ifSet($price->period) == 'onetime' || ($this->Html->ifSet($price->price) == $this->Html->ifSet($price->price_renews)) ? $this->_('Config.index.package_price', true, $period, $this->CurrencyFormat->format($this->Html->ifSet($price->price), $this->Html->ifSet($price->currency))) : $this->_('Config.index.package_price_recurring', true, $period, $this->CurrencyFormat->format($this->Html->ifSet($price->price), $this->Html->ifSet($price->currency)), $this->CurrencyFormat->format($this->Html->ifSet($price->price_renews), $this->Html->ifSet($price->currency))) ); I tried to rewrite the code for the current version based on your example above, as below: $amount = $price->price; if ($price->period == "month" && $price->term > 0) $amount = ($price->price/$price->term); // Set the pricing text to include or not include renewal pricing $prices[$price->id] = ($this->Html->ifSet($price->period) == 'onetime' || ($this->Html->ifSet($price->price) == $this->Html->ifSet($price->price_renews)) ? $this->_('Config.index.package_price', true, $period, $this->CurrencyFormat->format($this->Html->ifSet($amount), $this->Html->ifSet($price->currency))) : $this->_('Config.index.package_price_recurring', true, $period, $this->CurrencyFormat->format($this->Html->ifSet($amount), $this->Html->ifSet($price->currency)), $this->CurrencyFormat->format($this->Html->ifSet($price->price_renews), $this->Html->ifSet($price->currency))) ); However its not working, can you please help with the same. Thanks and Best Regards Santosh
  3. Hello, Do we have an approximate time-frame by when v4.11.0 would be released
×
×
  • Create New...