You asked for it, so here’s a small collection of tags to display data so far. It’s going to be growing but I wanted to get this out asap.
<txp:tc_price /> This tag displays the product price. It defaults to whatever the store currency is set to or, if no store currency has been set, USD.
Attributes
<txp:tc_weight /> This tag displays the product weight along with the proper weight units. It defaults to whatever the store weight units are set to. “Imperial” and “Metric” are the only two options.
Attributes
<txp:tc_sku /> This tag displays the product sku number. No attributes.
<txp:tc_stock /> This tag displays how many items remain in stock. No attributes.
<txp:tc_vendor /> This tag displays the product vendor name. No attributes.
<txp:tc_product_image_1 /> This tag create an <img> tag of the first product image.
Attributes
<img> tag. Not required.<img> tag. Defaults to product name. Not required. <txp:tc_product_image_2 /> Same as <txp:tc_product_image_1 /> .
<txp:tc_product_image_3 /> Same as <txp:tc_product_image_1 /> .
<txp:tc_product_image_4 /> Same as <txp:tc_product_image_1 /> .
Have fun. Let me know if you come across any bugs.
Download: tc_product_display.0.1
— Levi Nunnink
Ads help support TextCommerce
Commenting is closed for this article.
How is the coding coming? Any updates?
— Tim Newbill · May 25, 12:44 PM · #
Hi Levi,
thank you for great work.
I have problem with this solution. Can you help me?
How can I display shopping cart and client form etc.?
Thank you
— Jan Rozehnal · Jun 5, 03:38 AM · #