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
  • CEO
  • CS-Cart Architects
  • Join Date: 22-Nov 05
  • 2077 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.
{"product_features.view_all?filter_id=10"|fn_url}

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
  • 22889 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 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


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

Posted 19 December 2014 - 05:22 PM #3

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

4 14.1


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12156 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.