Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How Do You Use Smarty Blocks In Cs-Cart Rate Topic   - - - - -

  • imac
  • Head of Product
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2076 posts

Posted 19 December 2014 - 02:37 PM #1

Hello guys,

I would like to ask if you ever used smarty blocks "HTML block with smarty support" and what for.
As I can see the only reason to use it is fn_url fucntion, so you can always get the actual link, e.g.

Do you have any other use cases. Please share it.
Ilya Makarov,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 19 December 2014 - 03:51 PM #2

From the point of view of 3rd party developers, if you plan to remove it, please do not do it. Make a search by "smarty support" on the forum and you will find many ways of using it.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4922 posts

Posted 19 December 2014 - 05:22 PM #3

I purchased a custom template and this used html blocks with smarty quite a bit

Custom printed hi visibility clothing sale the UK's online hivis safety shop

  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 19 December 2014 - 10:41 PM #4

Use it for all kinds of things. Personally, I'd rather see you remove the html block than the smarty block.
There are many potential custom uses that let you more easily provide custom content to a site. Many times it requires support from a controller to get the data. But that data might be local or remote.

Do not remove it. Why would you even consider removing it?

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.