%args> item category %args> <%python scope="init"> import shoppingcontroller # cache the contents of the component, keyed off of item name. # component will be executed at most every 120 seconds for a given # item. if m.cache_self(key=item.name, cache_expiretime=120): return %python> <& breadcrumb.myc, category = category &>
<& common.myc:item_image, item=item &> |
<% item.name %>
<% item.price %> % if item.variants is not None:
Add to Cart: <& forms.myc:text, size=2, name="qty", value="1" &> item(s) <& forms.myc:submit, value="go" &> |
||
Back to category '<% category.description %>' |