1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Product condition ?

Discussion in 'General Discussion and Feedback' started by Allan, Mar 4, 2015.

  1. Allan

    Allan Active Member Xen Product Manager

    Hello, i would like show in product others information in xenproduct_product_view template but I would need conditions to aim some products, there are conditions relating to products? (id products)
     
  2. Chris D

    Chris D Xen Resources Developer Staff Member Xen Notices

    {$product.product_id}
     
  3. Allan

    Allan Active Member Xen Product Manager

    So, to example:
    <xen:if is="{$product.product_1}">....</xen:if>
    or
    <xen:if is="{$product.product_id} == 1">....</xen:if>
     
  4. Chris D

    Chris D Xen Resources Developer Staff Member Xen Notices

    Second one.
     
    Allan likes this.

Share This Page