WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
snark:
--- Quote from: freeSbee on July 03, 2009, 09:04:01 AM ---Furthermore you could change the database field "price" from 'DECIMAL(9,2)' to 'VARCHAR(10)'. This way a blank field will not be converted to 0. But actually in your case this is not really needed.
--- End quote ---
wrong... this was exactly what I needed and I could have thought of that myself... thanks
snark:
--- Quote from: freeSbee on June 29, 2009, 08:16:30 PM ---
@snark
Hi snark
You can use the WB "Browse Media" section to browse, add, overwrite or delete any Bakery thumbs and images. The thumbs and images of eg. item_id 1 are located at
/media/bakery/thumbs/item1/
/media/bakery/images/item1/
Make sure a thumb and a corresponding image have the same file name. Thumbs must have the extension .jpg.
--- End quote ---
did it in a better way...
somewhere around line 1127 I changed:
--- Code: ---$thumb_append = "' alt='".$img_title."' title='".$img_title." ' class='mod_bakery_item_thumb_f' /></a>";
--- End code ---
to:
--- Code: ---$thumb_append = "' alt='".$img_title."' title='".$img_title."' width='".$thumbwidth."' class='mod_bakery_item_thumb_f' /></a>";
--- End code ---
( and added $thumbwidth=100; somewhere)
now all the [THUMBS] on the detail pages hav a width of 100 px while the thumb on the mainpage still is the original thumbsize
maybe this option to have different thumbsizes for summery and detailpage could be added to the page settings in a future release
infinex:
--- Quote from: snark on July 04, 2009, 11:46:39 AM ---
--- Quote from: freeSbee on July 03, 2009, 09:04:01 AM ---Furthermore you could change the database field "price" from 'DECIMAL(9,2)' to 'VARCHAR(10)'. This way a blank field will not be converted to 0. But actually in your case this is not really needed.
--- End quote ---
wrong... this was exactly what I needed and I could have thought of that myself... thanks
--- End quote ---
Thanks,
infinex:
--- Quote from: snark on July 04, 2009, 11:46:39 AM ---
--- Quote from: freeSbee on July 03, 2009, 09:04:01 AM ---Furthermore you could change the database field "price" from 'DECIMAL(9,2)' to 'VARCHAR(10)'. This way a blank field will not be converted to 0. But actually in your case this is not really needed.
--- End quote ---
wrong... this was exactly what I needed and I could have thought of that myself... thanks
--- End quote ---
Now i changed the DECIMAL 9,2 in VARCHAR 10 but have another problem. I get:
This recipient does not accept payments denominated in WS_Error_XClick_Pre f_Foreign_Currency. Please contact the seller and ask him to update his payment receiving preferences to accept this currency.
freeSbee:
Hi Marcel
--- Quote from: infinex on July 03, 2009, 03:22:54 PM ---When i want to make a payment in Bakery with Paypal, paypal say:
This recipient does not accept payments denominated in WS_Error_XClick_Pre f_Foreign_Currency. Please contact the seller and ask him to update his payment receiving preferences to accept this currency.
--- End quote ---
As the error message tells you this has to do with your PayPal payment receiving settings. If you do not know how to set them correctly please search the PayPal FAQ or contact PayPal customer support.
Regards Christoph
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version