WebsiteBaker Support (2.8.x) > Bakery Shop
Can i turn the shop option off?
sky writer:
Just comment out the functionality you don't want to show. Then if/when you want to use that functionality in the future, remove the comments.
For instance, change this in the Overview (Header):
--- Code: ---<div class="mod_bakery_main_div_cart_bt_f">
<form action="[SHOP_URL]" method="post">
<input type="submit" name="view_cart" class="mod_bakery_bt_cart_f" value="[VIEW_CART]" />
</form>
</div>
<table cellpadding="5" cellspacing="0" border="0" width="98%">
<tr>
--- End code ---
to
--- Code: ---<!--
<div class="mod_bakery_main_div_cart_bt_f">
<form action="[SHOP_URL]" method="post">
<input type="submit" name="view_cart" class="mod_bakery_bt_cart_f" value="[VIEW_CART]" />
</form>
</div>
-->
<table cellpadding="5" cellspacing="0" border="0" width="98%">
<tr>
--- End code ---
and in Overview (Product-Loop), change:
--- Code: ---<td class="mod_bakery_main_td_f">
[THUMB]
<br />
<a href="[LINK]"><span class="mod_bakery_main_title_f">[TITLE]</span></a>
<br />
[DESCRIPTION]
<br />
[TXT_PRICE]: [CURRENCY] [PRICE]
<br />
[TXT_STOCK]: [STOCK]
<br />
<form action="[SHOP_URL]" method="post">
[OPTION]
<br />
<input type="text" name="item[ITEM_ID]" class="mod_bakery_main_input_f" value="1" size="2" />
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</form>
</td>
--- End code ---
to
--- Code: ---<td class="mod_bakery_main_td_f">
[THUMB]
<br />
<a href="[LINK]"><span class="mod_bakery_main_title_f">[TITLE]</span></a>
<!--
<br />
[DESCRIPTION]
<br />
[TXT_PRICE]: [CURRENCY] [PRICE]
<br />
[TXT_STOCK]: [STOCK]
<br />
<form action="[SHOP_URL]" method="post">
[OPTION]
<br />
<input type="text" name="item[ITEM_ID]" class="mod_bakery_main_input_f" value="1" size="2" />
<input type="submit" name="add_to_cart" class="mod_bakery_bt_add_f" value="[ADD_TO_CART]" />
</form>
-->
</td>
--- End code ---
Don't forget to select the "Update Page Settings (without "Continue Shopping URL") of all Shop Pages.", so that this is constant accross all your Bakery pages.
Hope this helps.
D72:
--- Quote from: sky writer on April 16, 2011, 06:59:59 PM ---
Don't forget to select the "Update Page Settings (without "Continue Shopping URL") of all Shop Pages.", so that this is constant accross all your Bakery pages.
Hope this helps.
--- End quote ---
Thanks Sky.
thats exactly what i did. Your tip about the selecting the update page settings was something i missed.
I have a few other sections with Bakery and had to comment out every individual page settings.
I totally missed that feature. Thank you for mention it. It will absolutely help me next time.
Navigation
[0] Message Index
[*] Previous page
Go to full version