Author Topic: Bakery Module  (Read 12274 times)

Offline mikal42

  • Posts: 16
Bakery Module
« on: August 20, 2010, 02:48:57 PM »
Is there a way I can bypass the overview page and go straight to the item detail page from a menu list?

A client wants to go straight to the individual product details from a drop down menu but it goes to an overview with just the one item and you have to click on the header or thumbnail to go to the detail page which is rather messy.

 I tried replacing the overview code on the Page Settings menu but the system didn't like it. Is there a way within the backend somewhere?

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Bakery Module
« Reply #1 on: August 20, 2010, 03:13:57 PM »
I think Bakery itself does not support it, but you could make a "Menulink" going directly to the detail page.

cheers

Klaus

daydreamer

  • Guest
Re: Bakery Module
« Reply #2 on: August 23, 2010, 11:01:02 PM »
Is it possible to hide add to cart if price is zero

Thanks

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #3 on: August 24, 2010, 03:29:47 AM »
Why would you want to hide "Add to cart" if the price is zero? I would think this would be a useful option in case you want to have free items.

Michael
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

daydreamer

  • Guest
Re: Bakery Module
« Reply #4 on: August 24, 2010, 09:58:17 AM »
I need it as I want to advertise some products without price and sell others

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #5 on: August 25, 2010, 04:54:27 AM »
Hi daydreamer,

Seems like a reasonable request.

I am currently working on the next version of Bakery. As a result of your request, there will be a third "Active" setting in the Modify Product screen called Preview. When you choose this option, the item will be displayed in Bakery but the Quantity field and Add to cart button will no longer be visible.

I know it doesn't help you for your current requirement but the good news is that it's coming!

Thanks for your suggestion!


Michael
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

daydreamer

  • Guest
Re: Bakery Module
« Reply #6 on: August 25, 2010, 04:33:12 PM »
Hi mjm4842

I think it would also be a very good feature if the option was there weather to show add to cart or not
also, Is it possible to add wysiwyg to page settings to make it possible to use droplets

Thanks
« Last Edit: August 25, 2010, 04:35:36 PM by daydreamer »

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #7 on: August 25, 2010, 08:11:42 PM »
Hi daydreamer,

Thank you for taking the time to contribute your suggestion.

Adding a WYSIWYG to the Page Settings might be possible however I would have to have a better idea of how people use this page.

The issue with simply converting the textareas to WYSIWYG editors is that each section contains only partial HTML code. For example, there is a table which starts in the Overview (Header) section, continues in the Overview (Product-Loop) section and then finally closes in the Overview (Footer) section. WYSIWYG editors ensure that all HTML code is complete in each section.

If we merge the header and footer sections together, keeping a placeholder called [LOOP] or something like that for the separate loop section (would appear in a separate editor window), it might actually become feasible to implement what you are suggesting.

I just finished contributing over a hundred hours of development time on a voluntary basis into improving Bakery. Unfortunately don't have time at the moment to implement WYSIWYG in the Page Settings. However I would definitely be open to implementing this for you if you are willing to pay me to do it :-).

One of the great strengths of Website Baker is it's ease of use for technically oriented and technically challenged users alike. I believe that this modification could be beneficial and move Bakery towards this goal.

Unless someone else would like to contribute development time on this, the best I can do for now is add it to my list of future features which will hopefully make it in to a future release of Bakery.

Thanks again for your suggestion.

With warmest regards,

Michael
« Last Edit: August 25, 2010, 08:14:31 PM by mjm4842 »
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

daydreamer

  • Guest
Re: Bakery Module
« Reply #8 on: August 25, 2010, 09:20:21 PM »
Hi Michael,

What I am trying to achieve is to add a small contact form to each product... A product enquiry if you like.
I just thought it best if I had a form and called it with a droplet but as it is at the moment it will not work adding [[sectionpicker?sid=10]] in the footer section.

Regards
Nick (daydreamer)

snark

  • Guest
Re: Bakery Module
« Reply #9 on: August 25, 2010, 11:52:08 PM »
While you are expandingthe options for pricing with a preview option, is there any sightw on à discount option?

I think that is THE most wanted feature for bakert at THE moment

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #10 on: August 26, 2010, 01:35:44 AM »
Hi snoork,

The new version will includes a promo system. While the promo code management system is done, I am trying to figure out how to actually applying the discount to the prices. The promo code system also includes an option for free shipping which is actually working. Not sure how complete the implementation will be in the coming release however my objective is to have it 100% working by the time it is released.

It's interesting to note that adding a promo code system to Bakery was what got me started on this quest to enhance Bakery. It is now the only thing I have left to complete out of my To Do list. Many of the enhancements (like a new tax system based on a tax table) came from my own needs. I did also scanned the Bakery forum looking for ideas. Some, if they didn't take too long, I just implemented it. Others ended up on my wish list of future enhancements.

Could you do me a favour and share with me your vision of how you would like to offer discounts? For example, are all your products the same price? Would you want to have the discount code applicable on all items in your shop or just on a specific item? Are you looking to offer a percentage discount or fixed amount? Any information you could offer would be helpful. My business is to provide services so I don't have a lot of experience with issues that are specific to selling products. Shipping, for example, never comes up in my business.

I can't promise that the promo code system will work out exactly the way you want. I have built in a certain amount of flexibility into the promo code system however I am developing primarily to meet my own needs first.

Don't worry, open source is an evolutionary process that never ends. You never know, someone might volunteer to help me out and we'll get even more new features in place.

Best regards,


Michael
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #11 on: August 26, 2010, 01:52:20 AM »
Hi Nick,

I am not familiar with how droplets work behind the scenes. However a little while ago I did come across a post from someone who described how to make droplets work in PHP templates. Unfortunately I don't remember where in the forums I found it. I would imagine that there must be some kind of function that can be called on a string to make the droplet work. Kind of like YourText = InterpretDroplet("Here is your text: [[sectionpicker?sid=10]]"). If you can search the forums for me to find that information, it might be possible to enable droplets in each of the Page Settings sections depending on how much work it ends up being.

Best regards,

Michael

What I am trying to achieve is to add a small contact form to each product... A product enquiry if you like.
I just thought it best if I had a form and called it with a droplet but as it is at the moment it will not work adding [[sectionpicker?sid=10]] in the footer section.
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

snark

  • Guest
Re: Bakery Module
« Reply #12 on: August 26, 2010, 07:37:11 AM »
Discount thingy;
I will send you a pm

Droplets;
I do not see the need to put in a wysiwyg-field in the settings-page,is it because you want to be Anke to choose THE droplets from the droplet-popup from the editor, just like f.i. an internal link.....

 I have used droplets many times in settingspages, just type [[dropletname]] in the field and it should work.

daydreamer

  • Guest
Re: Bakery Module
« Reply #13 on: August 26, 2010, 11:30:58 AM »
Ok maybe a easier way to enquire about a product would be to have a link on the product detail page " Enquire about this product" which takes you to a form which pulls the product title into the subject. Is there a simple way of doing this with the form thats built into WB?

Thanks

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #14 on: August 26, 2010, 09:10:00 PM »
Hi Nick,

I have been faced with a similar situation. If you use the MPForm module, you may have a solution that is already implemented.

MPForm is an enhanced alternative to the Form module that is included with WebsiteBaker. One of the really useful features is that it includes a Referer URL which lets you know which page the customer came from. Since each product has its own unique URL, you can use this to identifying the product in question. Not sure if the Forms module that comes with WebsiteBaker includes this feature.

If you aren't already using MPForm, take a look at it. One of the many useful enhancements included is a built-in autoresponder that you can turn on. This gives the client that extra level of interaction by confirming their action and establishing their expectations for your response. Your auto-response message can even suggest checking an FAQ list, or, if you tend to always get the same type of questions, include the answer in the message. You can even include promotional information. My clients like to use it for collecting names and email addresses in exchange for giving stuff. The only thing that is missing for this last purpose would be an easy way to access the list of submitted email addresses... anyone have a snippet for this?.

You will find MPForm at :
http://www.websitebakers.com/pages/modules/interaction/mpform.php?searchresult=1&sstring=mpform

Best regards,

Michael
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

daydreamer

  • Guest
Re: Bakery Module
« Reply #15 on: August 27, 2010, 08:19:01 PM »
Hi Michael

Many thanks for that, never used MPForm but does the job superb with referer url.

Thanks
Nick

comfort

  • Guest
Re: Bakery Module
« Reply #16 on: August 30, 2010, 04:04:21 PM »
is there a way to create a page with all excisting products? (in oscommerce: all_products.php)
Perhaps with a sql line, so i could filter the products  :?

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #17 on: August 31, 2010, 06:13:27 AM »
Would that not be the same as setting the number of Products per Page to zero (0 = Unlimited) in the Page Settings?

If not, can you be more specific about what exactly you are trying to accomplish.

Michael
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

comfort

  • Guest
Re: Bakery Module
« Reply #18 on: August 31, 2010, 03:45:03 PM »
No, i have different categories with products, but i want them to list in 1 seperate page.

And can anyone help me out with analytics?

# Modify Google Analytics tracking code
Modify the Google Analytics tracking code by replacing the line below:

Code: [Select]
pageTracker._trackPageview();by the next line:
Code: [Select]
pageTracker._trackPageview(<?php if($ga_page) echo &#39;"&#39;.$ga_page.&#39;"&#39;; ?>);
On:
Code: [Select]
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18283422-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #19 on: August 31, 2010, 04:05:24 PM »
Hi comfort,

If I understand what you are trying to do, I think you want to be able to set custom variables for Google Analytics. Here is a link that includes information on how to accomplish this:

http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html

What it will do is enable you to group categories of products for analysis in Google Analytics. For example, if you have a department store, you can set a department variable and then analyse interest by department.

If this isn't what you are trying to accomplish, please clarify what you are trying to accomplish.

Warmest regards from Canada,

Michael Milette

___________________________
TNG Consulting Inc.
Sustainable Solutions for Life
www.tngconsulting.ca
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

comfort

  • Guest
Re: Bakery Module
« Reply #20 on: August 31, 2010, 05:10:52 PM »
Google has nothing to do with it. (that was a different question)
I just want 1 page with all of thethe products i've added on different pages.

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #21 on: August 31, 2010, 06:46:15 PM »
Hi comfort,

Do you just want a snippet of PHP that you can insert on a page and still have the the individual product lists or do you want to modify the Bakery code so that the lists include all products from all of your bakery shops?

Best regards,

Michael
« Last Edit: August 31, 2010, 06:51:15 PM by mjm4842 »
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #22 on: August 31, 2010, 07:07:23 PM »
Hi comfort,

To modify Bakery to list all items from all of your pages, edit the file called view_overview.php with a text editor like PSPad or Notepad++ (even the regular Windows Notepad will do). There should be two lines in there that include the following text:

WHERE section_id = '$section_id' AND

Just delete the text that appears in red above and save your changes. The word WHERE and any text that comes after the red text must remain.

IMPORTANT: Once you have made this change, regardless of the Bakery page, all items will always be listed.

Note: This modification will result in a non-standard version of Bakery. This isn't a bad thing but you will need to remember to re-apply this change again should you upgrade to a newer version of Bakery in the future.

Hope this helps.

With warmest regards,


Michael
« Last Edit: August 31, 2010, 07:09:46 PM by mjm4842 »
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

Offline mjm4842

  • Posts: 198
Re: Bakery Module
« Reply #23 on: August 31, 2010, 07:34:54 PM »
Solution #2 - The backwards compatible solution

Instead of removing the red text as described in the above message, replace it with $sql_showall. For example:

WHERE $sql_sectiononly

Then insert the following lines right above the line that says // Get total number of items

if (isset($_GET['showall'])) {
   $sql_sectiononly = '';
} else {
   $sql_sectiononly = "section_id = '$section_id' AND ";
}


As a result, the basic functionality of your pages will not change and the list will only include items in your page (or category if you prefer).

To list all items, just create a manual link that has the same address you would normally use but add a "?showall" to the end of the address. For example:

http://www.yoursite.com/pages/yourshopname/my-shop.php?showall

Limitation: If you view an item and then click the Back link, you will no longer see the full list.

Michael
« Last Edit: August 31, 2010, 07:37:59 PM by mjm4842 »
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a

Offline yishay

  • Posts: 31
Re: Bakery Module
« Reply #24 on: October 08, 2010, 09:09:38 AM »
Goodmorning!

I have a minor problem in the bakerymodule. Somehow the nextlabel.gif and previouslabel.gif wont show in the standard lightbox. clicking forward and backward on the highlighted picture works, just the *label.gifs wont show?

Can anyone assist?

 

postern-length