To this....
 

Attachments

  • Capture.PNG
    Capture.PNG
    27.1 KB · Views: 7
This is some basic code:

Code:
<xen:if is="{$product.product_id} == 15">
   <a class="callToAction demoButton" href="#" target="_blank"><span>View Demo</span></a>
   <xen:elseif is="{$product.product_id} == 10" />
   <a class="callToAction demoButton" href="#" target="_blank"><span>View Demo</span></a>
   <xen:elseif is="{$product.product_id} == 9" />
   <a class="callToAction demoButton" href="#" target="_blank"><span>View Demo</span></a>
</xen:if>

We had to hard code each product which was a little annoying :D, a plugin would be best but this was a quick fix.

It can be added to like:xenproduct_product_view

in the <xen:sidebar> code.
 
Hey @Russ can you tell me please how to add 1 more button?
I added:
Code:
<xen:if is="{$product.product_id} == 1">
  <a class="callToAction demoButton" href="#" target="_blank"><span> Discuss This Product</span></a>
   <xen:elseif is="{$product.product_id} == 1" />
   <a class="callToAction demoButton" href="#" target="_blank"><span>View Demo</span></a>
</xen:if>

but not works.

Thanks in advance
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back