WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
freeSbee:
Hi Kevin
--- Quote from: sozanski on March 25, 2010, 01:09:17 PM ---I've recently switched my "add to cart" submit button to an image [button ...]
This works in both Firefox and Chroom, and guess what, it doesnt work in IE (no version whatsoever).
--- End quote ---
Add to the view.php file right after the comment
--- Code: ---GENERATE ORDER ID FOR NEW ORDERS
--- End code ---
the code below:
--- Code: ---if (isset($_POST['add_to_cart_x']) && $_POST['add_to_cart_x'] != '') {
$_POST['add_to_cart'] = 1;
}
--- End code ---
To achieve the same result for all shop navigation buttons use this code:
--- Code: ---foreach ($_POST as $key => $value) {
$count = 0;
$ie_post_key = str_replace('_x', '', $key, $count);
if ($count > 0) {
$_POST[$ie_post_key] = 1;
}
}
--- End code ---
Regards Christoph
nene:
Hello,
I need urgent help. Suddenly my bakery is not working anymore. www.p2bay.com. Visitors cant add items to cart. Can someone tell me what the problem is and what I should do? Please help.
Regards
Nene
oeh:
Hi.
I'm able to add to cart.
I've allso ben able to submitt my order. (Step 2)
So no problems for me.
;-}
OE
Ruud:
Cant see a problem.
I just put in an order (name "a")
I got all the way up to the thank-you message.
What is "not working anymore"?
nene:
Thanks Ruud for that quick response. When trying to order, it is re-directed to http://www.p2bay.com/pages/text-books.php. Our attention was drawn to it only yesterday. I tried even before sending it to the forum and it was the same. But it is working now. Thanks so much
Best Regards
Nene
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version