WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
freeSbee:
Hi frans
--- Quote from: youecho on October 25, 2009, 11:00:06 AM ---- if i add article options (like size, color etc) to an article, then the price is set to "0" if i put the article in the shopping cart. if i remove the article options it works fine,
--- End quote ---
Keep in mind that an option price left blank or set to "= 0.00" will overwrite the item price and set it to 0.00 on account of the equals sign.
In this case set the option price to "+ 0.00" or "- 0.00".
--- Quote from: youecho on October 25, 2009, 11:00:06 AM ---- if i move the shopping cart button from the header to the footer it doesnt work properly anymore. what is the right way to move items at the page settings page?
--- End quote ---
First make sure your html code is not lacking.
Second there are different ways to call the cart. These code examples are only for use within the Bakery page setting templates:
As a link:
--- Code: ---<a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a>
--- End code ---
As a button (requires JS):
--- Code: ---<input type="button" name="view_cart" value="[VIEW_CART]" class="mod_bakery_bt_cart_f" onclick="javascript: window.location = '[SHOP_URL]?view_cart=yes';" />
--- End code ---
As a submit button:
--- Code: ---<form action="[SHOP_URL]" method="post">
<input type="submit" name="view_cart" value="[VIEW_CART]" class="mod_bakery_bt_cart_f" />
</form>
--- End code ---
--- Quote from: youecho on October 25, 2009, 11:00:06 AM ---ps: check the example i'm working on right now: www.karinruiter.nl/wb/
--- End quote ---
There is no cart button in the footer of this page... ?
Regards Christoph
youecho:
hi christoph,
thanx a lot for your quick reply.
problem 1 is solved (i didnt see the "+" or "-" at the article options..
problem 2 still not fixed. in my example page www.karinruiter.nl/wb/ i added the link option <a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a> at the footer, but the text is not replaced properly and therefore the link doesnt work. if i place the same link in the header, everything is ok.. where can i solve this problem?
thanks in advance!
best regards,
frans van gastel / youecho
freeSbee:
Hi Frans
--- Quote from: youecho on October 26, 2009, 11:18:37 AM ---problem 2 still not fixed. in my example page www.karinruiter.nl/wb/ i added the link option <a href="[SHOP_URL]?view_cart=yes">[VIEW_CART]</a> at the footer, but the text is not replaced properly and therefore the link doesnt work. if i place the same link in the header, everything is ok.. where can i solve this problem?
--- End quote ---
The help page at "Page Settings" > "Help" provides a list of all placeholders like [SHOP_URL] and where they can be used. As you can see the [SHOP_URL] and [VIEW_CART] placeholders are not supported in the PF (= Page Footer).
As a workaround you can use the [[ModBakeryCartLink]] droplet provided that you are using WB 2.8 or later.
Read more about "droplets"
Get the droplet ModBakeryCartLink at AMASP
Regards Christoph
youecho:
hi christoph,
thanx again for your reply.
i solved problem 2. i installed the droplets module and inserted the modbakerycartlink droplet. first it gave an error in the return value, but after i changed ERROR in Droplet "ModBakeryCartLink" into ERROR in Droplet ModBakeryCartLink, it works like a charm :), even in WB 2.7..
best regards,
frans van gastel / youecho
freeSbee:
Hi Frans
--- Quote from: youecho on October 26, 2009, 02:02:54 PM ---i solved problem 2. i installed the droplets module and inserted the modbakerycartlink droplet. first it gave an error in the return value, but after i changed ERROR in Droplet "ModBakeryCartLink" into ERROR in Droplet ModBakeryCartLink, it works like a charm :), even in WB 2.7..
--- End quote ---
Thanks for reporting the bug! I fixed it on the droplets page.
Regards Christoph
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version