Skip to content

Commit

Permalink
Language-izes related products template (was looking for another bug …
Browse files Browse the repository at this point in the history
…and tripped across these) [#296]
  • Loading branch information
dleffler committed Dec 7, 2011
1 parent 8a8a2e0 commit 8f59f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/modules/ecommerce/views/store/edit_related.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ oAC.itemSelectEvent.subscribe(appendToList);
{/literal}
{/capture}

{control type="autocomplete" controller="store" action="search" name="related_items" label="Related Products"|gettext value="Search Title or SKU" schema="title,id,sef_url,expFile,model" searchmodel="product" searchoncol="title,model" jsinject=$callbacks}
{control type="autocomplete" controller="store" action="search" name="related_items" label="Related Products"|gettext value="Search Title or SKU"|gettext schema="title,id,sef_url,expFile,model" searchmodel="product" searchoncol="title,model" jsinject=$callbacks}

<ul id="relatedItemsList">
{foreach from=$record->crosssellItem item=prod name=prods}
<li>
{$prod->title|strip_tags} - <a href="javascript:{ldelim}{rdelim}">X</a><br />
Model #: {$prod->model|strip_tags}
{'Model'|gettext} #: {$prod->model|strip_tags}
<input type=hidden name="relatedProducts[{$prod->id}]" value="{$prod->id}" />
</li>
{/foreach}
Expand Down

0 comments on commit 8f59f7b

Please sign in to comment.