Announcement

Collapse
No announcement yet.

Show "out of stock" in search results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    This displays a message when stock is Zero whether the Stock Control / Monitoring box is ticked at product level or not.

    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultStock%22%20%2f%3e%20%3d%3d%200" >
    <span id="EnableIfOutOfStock_<actinic:variable name="SearchResultProductReference" />" class="ActinicRTS"><Actinic:Variable Name="OutOfStock"/></span>
    </actinic:block>
    Some clients will have Online Stock Control Enabled

    Click image for larger version

Name:	47119-01.jpg
Views:	26
Size:	46.6 KB
ID:	553202

    And product by product either show the instock message by default

    Click image for larger version

Name:	47119-02.jpg
Views:	18
Size:	29.5 KB
ID:	553203

    Or choose to show the out of stock message

    Click image for larger version

Name:	47119-03.jpg
Views:	21
Size:	31.6 KB
ID:	553204

    Is there a variable to use that shows when the Stock Control / Monitoring box is ticked at product level?

    This would allow the message above to only display when <actinic:variable name="SearchResultStock" /> is Zero AND the the Stock Control / Monitoring box is ticked at product level.

    i have searched but not yet found.

    Thank you...
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #17
      Is there a variable to use that shows when the Stock Control / Monitoring box is ticked at product level?
      Variable IsStockMonitored does that but it's not available in the search results. Significant Perl patching would be required or a variation on my post #2 might help.
      [code]


      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment

      Working...
      X