[MKDoc-commit] Removed non-working price template

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Apr 28 16:07:09 BST 2005


Log Message:
-----------
Removed non-working price template

Tags:
----
mkdoc-1-6

Removed Files:
-------------
    mkd/templates/component/price:
        en.html

-------------- next part --------------
--- templates/component/price/en.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<div action="#" xmlns:petal="http://purl.org/petal/1.0/" petal:define="basket_add  plugin: flo::plugin::Shop::Basket::Add">
-  <div petal:condition="true:basket_add">
-    <form
-      action="#"
-      petal:attributes="action basket_add/uri" method="post">
-
-      <input type="hidden" name="reference"   petal:attributes="value self/as_item/reference" />
-      <input type="hidden" name="description" petal:attributes="value self/as_item/description" />
-      <input type="hidden" name="unit_price"  petal:attributes="value self/as_item/unit_price" />
-      <input type="hidden" name="signature"   petal:attributes="value self/as_item/sign" />
-      <input type="hidden" name="quantity"    value="1" />
-
-      <div class="price-reference" petal:content="self/ref_id">TD180001</div>
-      <div class="price-description" petal:content="self/description">Some Description</div>
-      <div class="price-submit"><input type="submit" value="Add To Basket" /></div>
-
-    </form>
-  </div>
-  <div petal:condition="true:self/in_stock">
-    ${self/in_stock} in stock -
-    Will ship dazzingly fast 
-  </div>
-  <div petal:condition="false:self/in_stock">
-    Out of stock -
-    Will ship "snail mode"
-  </div>
-  <div petal:condition="false:basket_add">
-   <table>
-     <tr>
-       <td><strong petal:content="self/ref_id">TD180001</strong></td>
-       <td petal:content="self/description">Some Description</td>
-       <td>You cannot add this item to the shopping basket<br />
-           (E-Commerce functionality is not enabled)</td>
-     </tr>
-   </table>
-  </div>
-</div>


More information about the MKDoc-commit mailing list