WebsiteBaker Support (2.8.x) > Bakery Shop

Bakery: Small Shop Module (ORIGINAL TOPIC)

<< < (6/167) > >>

daydreamer:
Thanks for that.

Another Question: Is there a way to set the main product image to a certain size e.g: 300 x 300
And make the thumbnail click to enlarge in popup window.

Thanks

freeSbee:
@ daydreamer

--- Quote from: daydreamer on November 29, 2007, 08:02:31 PM ---Another Question: Is there a way to set the main product image to a certain size e.g: 300 x 300

--- End quote ---
No, Bakery can not do that. Use your image editing software. Most of them feature a batch mode to make the job easier.


--- Quote from: daydreamer on November 29, 2007, 08:02:31 PM ---And make the thumbnail click to enlarge in popup window.

--- End quote ---
By default Bakery can not do that neither.

But you can do it by coding a little bit yourself.
Add a JS onClick handler and a JS window.open to the thumbnail <a> tag in the Bakery page settings -> layout section. Set the URL parameter to [IMAGE].
Finaly you have to modify the view.php file on about line 599 ( // Replace vars with values).
Befor line 599 add the code:
if(file_exists(WB_PATH.MEDIA_DIREC TORY.'/bakery/image'.$item['item_id'].'.'.$ext)) {
    $image = THUMB_PREPEND.WB_UR L.MEDIA_DIRECTORY.'/bakery/image'.$item['item_id'].'.'.$ext.THUMB_APPEND;
}
After line 599 add a new var [IMAGE] into the array $vars and let it be replace by the value of $image.

Christoph

daydreamer:
Many Thanks Christoph.

Do you also know where I can set the image size on the product view.
Also in the page settings for Header Product loop etc where can I change that so If a new bakery page is added the content is the same everytime.

Thanks

freeSbee:
@ daydreamer


--- Quote from: daydreamer on December 02, 2007, 09:40:13 AM ---Do you also know where I can set the image size on the product view.

--- End quote ---
This is about the same question like...

--- Quote from: daydreamer on November 29, 2007, 08:02:31 PM ---Another Question: Is there a way to set the main product image to a certain size e.g: 300 x 300

--- End quote ---
that I have already answered in the last post!


--- Quote from: daydreamer on December 02, 2007, 09:40:13 AM ---Also in the page settings for Header Product loop etc where can I change that so If a new bakery page is added the content is the same everytime.

--- End quote ---
First add all your Bakery pages.
Then go to the page settings of the Bakery page you have already modyfied to your needs.
Befor saving this page settings again check the radio Update settings except of the "Proceed Shopping URL" of ALL shop pages?.

Christoph

orko3001:
Hi, great module. I have been waiting for this module for a while.   :-D

Can anyone advise me on this? How do I calculate international shipping? Because if I send something to my own country UK it will obviously be different if I post it to Australia. Any ideas on how to do this? Or any ideas on what alternatives there are?

Cheers :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version