Hi all,
I run a webstore and would like to add a small feature to it.
Some of the products I actually would like to be only visible in the store but NOT for sale. So this is how it looks:
[php]<?php if (!_xls_get_conf('DISABLE_CART', false)): ?>
<?php if (_xls_get_conf('ENABLE_GIFT_REGISTRY', 0)): ?><div class="wishlist" <?php $this->misc_components['show_gift_registry']->RenderAsEvents('show') ?>>
<a href="#" ><?php _xt("Add to Wish List"); ?></a>
</div>
<?php endif; ?>
<?php $this->giftRegistryPnl->Render(); ?>
<?php if (!_xls_get_conf('DISABLE_CART', false)): ?>
<?php $this->txtQty->Render(); ?>
<?php endif; ?>[/php]
There is a feature in the system where you can add a KEYWORD to each product. So I though I could add something like “phone_only” as a keyword to those product than can only be purchased over phone or in physical store. Can the code the be:
[php]<?php if (<?php $this->prod->WebKeyword3('phone_only', false)): ?>
I tried it and it didn’t work. (white screen).Can anyone help?
My wishes would be:
a) The “Add to Cart” button is replaced by “Phone Only” text, which you can not click on
b) The “Add to Cart” button is simply removed.
thanks,
HakonOrri