Conditional Sliders

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello,

Im looking for adding a conditional little slider inside the product page 'ProductTemplate.Grouped.cshtml'

Please your help for :

1/ How to insert a DIV tag on the page including the slider (which has been setup with the 'Anywhere Slider Plugin')
   And i dont know to declare a personal widget zone (if needed)

2/ and How to make a condition of it regarding to the 'Product Category'

thank you for putting me on the way

Regards
Michel
6 years ago
MicNop wrote:
Hello,

Im looking for adding a conditional little slider inside the product page 'ProductTemplate.Grouped.cshtml'

Please your help for :

1/ How to insert a DIV tag on the page including the slider (which has been setup with the 'Anywhere Slider Plugin')
   And i dont know to declare a personal widget zone (if needed)

2/ and How to make a condition of it regarding to the 'Product Category'

thank you for putting me on the way

Regards
Michel


1.

How to insert a DIV tag on the page including the slider ===>you can do it using Js

Write ===>In the .cshtml where you want to declare your Own widget zone.


  @Html.Widget("personalwidgetzoneName")


2.

How to make a condition of it regarding to the 'Product Category' ==>  you can get that product and it's category then can set your condition
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.