Jump to content

Help me, Is this correct?


Recommended Posts

I am using it, but

_tpl_vars[‘link’]->addSortDetails($this->_tpl_vars[‘request’],‘manufacturer_name’,‘ASC’))) ? $this->_run_mod_handler(‘escape’, true, $_tmp, ‘htmlall’, ‘UTF-8’) : smarty_modifier_escape($_tmp, ‘htmlall’, ‘UTF-8’)); ?>
“ <?php if ($this->_tpl_vars[‘orderby’] 'manufacter_name' && $this->_tpl_vars['orderway'] ‘ASC’): ?>selected=“selected”<?php endif; ?>><?php echo smartyTranslate(array(‘s’ => ‘manufacturer’), $this);?>


This is how

_tpl_vars['orderby'] == 'quantity' && $this->_tpl_vars['orderway'] == 'DESC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'in-stock first'), $this);?>



Searching the same. It is correct?

And

This:
_tpl_vars['orderby'] == 'id_manufacturer' && $this->_tpl_vars['orderway'] == 'ASC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'ID manufacturer'), $this);?>


This is how

_tpl_vars['orderby'] == 'name' && $this->_tpl_vars['orderway'] == 'ASC'): ?>selected="selected"<?php endif; ?>><?php echo smartyTranslate(array('s' => 'name: A to Z'), $this);?>



:(( where is problem?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...