Where are the Smarty Vars Assigned?


In skins\toy_store\customer\views\orders\components\payments

I see the payment methods for example Credit Card. This tpl file is used.cc.tpl.

Now, there are Smarty Vars used: {foreach from=$credit_cards item=“c”}

I am trying to find out, Where these are defined in which php file? I would tihnk in the ‘payments’ directory, but I cant see any declarations there.

Normally in the php file there will be a var like $template = ‘cc’

So that I know from this file the Smartys vars are extracted.

Can someone please tell me where?