WebsiteBaker 2.13.0 r1, Bakery 1.84

Tonke

Hi, even droplet "Bakery Minicart" line 7 can be fixed the way dbs suggested.

zirzy

That solution number one seemed to work nicely, thanks!

dbs

#2
Hello, you can try to fix the problem by change some files:

       
  • view_cart.php (line 29)
  • view_confirmation.php (line 27)
  • view_form.php (line 26)
  • view_payment_methods.php (line 26)
  • view_summary.php (line 29)
All files try to call the file template.inc, but we use now Template.php.
There are two ways to fix it.

Way 1 (recommanded for WB 2.13 and higher)
- Add a double slash in front of the lines to make them useless in all files
- add the following line before the first php code (e.g. line 17, below the big comment) in all files
use vendor\phplib\Template;

Way 2 (works also)
Replace this in all files
require_once(WB_PATH.'/include/phplib/template.inc');

with this
require_once(WB_PATH.'/include/phplib/Template.php');

A test was successfully.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

zirzy

Hi,

Im having some issues with the cart with the Bakery plugin.

If i try to click add to cart or show cart all i see is a blank section. POST 500 error is logged to the console.
Client notified me about this behaviour and i have updated wbs to it's current version(2.13.0 r1) few months back, but since there is relatively low traffic, this problem might have been there for some time.

Could WBS cause this?