Please help with my shopping cart error and i will love you

Heres a link to the .php code, http://pastebin.com/vYmYbLqN

the error is line 16 systax error

i belive the issue is to do with the template directory isnt properly defined or error in the variable.

i can always send or show the .tpl file for this if needed

any elp wud make me soooo happy

Hi,

i am not sure but try this.
[php]

{if isset($orderby) AND isset($orderway)}

{if $smarty.get.id_category|intval}
{assign var=‘request’ value=$link->getPaginationLink(‘category’, $category, false, true)}
{elseif $smarty.get.id_manufacturer|intval}
{assign var=‘request’ value=$link->getPaginationLink(‘manufacturer’, $manufacturer, false, true)}
{elseif $smarty.get.id_supplier|intval}
{assign var=‘request’ value=$link->getPaginationLink(‘supplier’, $supplier, false, true)}
{else}
{assign var=‘request’ value=$link->getPaginationLink(false, false, false, true)}
{/if}

{l s='--'} {l s='price: lowest first'} {l s='price: highest first'} {l s='name: A to Z'} {l s='name: Z to A'} {l s='in-stock first'} {l s='sort by'}

{/if} [/php]

I hope this is your solution.

Sponsor our Newsletter | Privacy Policy | Terms of Service