![]() |
Re: Hiding the Add to Cart button for certain parts
Quote:
$extra_fields is an array, you have to loop through it or use the exact array element #, you can't use $extra_fields.field as there is no such thing {foreach from=$extra_field item=ef} {if $ef.service_name eq "NO_ADD_CART" && $ef.field_value ne ""} YOUR CODE HERE {/if} {/foreach} |
Re: Hiding the Add to Cart button for certain parts
Thanks for the pointers with the code. I was thinking of these variables the wrong way. I'll be changing it now.
|
All times are GMT -8. The time now is 01:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.