WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: D72 on April 16, 2011, 03:59:25 PM

Title: Can i turn the shop option off?
Post by: D72 on April 16, 2011, 03:59:25 PM
Hi,

I was wondering if there is a possibility to turn the shop option off.
The owner of the website would like to use Bakery as a product listing without prices and the possibility to place an order. When the time is right, they want to use it permanently as a shop.
But for now they only want to show some products.
I tried to find something similar on bakery-shop.cs and on this forum. But nothing which could give me an answer.
Is there someone tell me if this is possible or how much work it is to turn it off?

A different question...
When i view a product and scoll down, i see at the bottom of the describtion two extra lines of shipping costs which says,

Code: [Select]
Verzendkosten:
binnenland: EUR 0.00
buitenland: EUR 0.00

Can i get rid of this easily or do i have to edit some lines in the code/page(s) of Bakery?
Title: Re: Can i turn the shop option off?
Post by: Stefek on April 16, 2011, 04:13:35 PM
Hello,

no hardcoding is needed.

You just need to adjust the layout-fields (header, footer etc.) in the settings area of the module.
Look into the [help].

Regards,
Stefek
Title: Re: Can i turn the shop option off?
Post by: D72 on April 16, 2011, 04:24:36 PM
Hello,

no hardcoding is needed.

You just need to adjust the layout-fields (header, footer etc.) in the settings area of the module.
Look into the [help].

Regards,
Stefek

Oh my... i think i was totally concentrated by other options that i've overlooked that option.
Of course... the page settings... stupid me
Thank you Stefek for pointing me out.

The main issue i'm struggling with is turning of the  order/shop option.
I think it's not possible right? Can't find any setting to have this job done.
It's all or nothing i guess

Title: Re: Can i turn the shop option off?
Post by: Stefek on April 16, 2011, 05:02:45 PM
The main issue i'm struggling with is turning off the  order/shop option.
I think it's not possible right? Can't find any setting to have this job done.
It's all or nothing i guess


Hello,

a picture may tell us more then 1000 words;-)
Maybe you have a screenshot to help me/us understand the issue.

Regards,
Stefek
Title: Re: Can i turn the shop option off?
Post by: D72 on April 16, 2011, 06:54:33 PM
 :|
i feel a bit stupid.
What i was trying to asked is, when visitors enters the website, they should not have to possibility to order products at all. So, in a way, Bakery have to function just like a 'gallery' and not as a shop.
But, it's much more simple as i thought i first place. I just have to edit the individual page settings and delete the order buttons etc
When you visit (http://tinyurl.com/a-bakery-shop) the page, you'll see no order options which i deleted in the page settings.
And that's all i wanted. Haven't thought about it in first place to just delete all form settings...
Title: Re: Can i turn the shop option off?
Post by: sky writer on April 16, 2011, 06:59:59 PM
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: [Select]
<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>

to

Code: [Select]
<!--
<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>

and in Overview (Product-Loop), change:

Code: [Select]
<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>

to

Code: [Select]
<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>

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.
Title: Re: Can i turn the shop option off?
Post by: D72 on April 17, 2011, 06:16:53 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.

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.