I have a client site that is offering over 150 meal items to its customers, HOWEVER, these 150 meals are NOT available for purchase, Instead, I have a "menu order page" where the client will add "featured items" each week that can be ordered.
When someone clicks the menu, "our meal selections and chooses "classic" all items are shown. I can turn off the add to cart and other buttons to disable buying, but if the picture is clicked, it goes to product page, THIS is what I need to disable ( I will replace this with something to enlarge the photo)
So basically, I need to turn off the ability for a client to buy, yet the products remain visible.
1- out of stock will not work as the items in the featured menu will also be in the category/product page and be available to purchase there
2- I still need the "product" pop up for the items that are available, so disabling this wont do either
Thanks
The site is http://freshcreationsfl.com (still early development)
Edit: if anyone knows of a "gallery" option that will populate all the category/ products automatically, this would do the job too (I have looked at many but the items need to be added manually or they are carousels or sliders)
Very generally spoken, such an Image HTML Code Line looks about like this:
So, just remove the HREF-Link, to make it look like this:
Then, the Image has no more HREF-Link!
Ernie
Code: Select all
<?php if ($product['thumb']) { ?>
<a href="<?php echo $product['href']; ?>"><img class="img-thumbnail" src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>"></a>
<?php } ?>
Code: Select all
<?php if ($product['thumb']) { ?>
<img class="img-thumbnail" src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>">
<?php } ?>
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 285 guests