View Single Post
  #1  
Old 01-12-2017, 12:13 PM
 
Dougrun Dougrun is online now
 

X-Adept
  
Join Date: Apr 2012
Posts: 897
 

Default Add text to notification area

I want to add "Option out of Stock" when the type B notification icon shows, but not otherwise. On my product details page, I see
Code:
{if $show_notif_B eq 'Y'} {include file="modules/Product_Notifications/product_notification_request_button.tpl" productid=$product.productid type="B"} {/if}

but adding it to that at the end shows it no matter if the size is out or not, it just moves it to the other side of the icon.

Ideally i wanted to make the option text color red in the size column but cant figure that out.
example at https://www.vsathletics.com/store/VS-Athletics-Weightlifting-Shoe-II.html
size 14.0 is sold out. the icon changes to notify when back in stock but i can't get that text added. Any ideas??
__________________
4.7.x xcart store
Business 5.4xx
Reply With Quote