WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: daydreamer on January 07, 2012, 02:38:01 AM

Title: Show product title as main image name
Post by: daydreamer on January 07, 2012, 02:38:01 AM
How would I show the main image file name as the product name automatically?

Thanks
Title: Re: Show product title as main image name
Post by: jacobi22 on January 07, 2012, 11:36:13 AM
Its not possible, to set an image name automatically as a product name. you have to set the product name (= page title) manually . Product pictures are optional
Title: Re: Show product title as main image name
Post by: daydreamer on January 08, 2012, 06:39:02 PM
Thanks, would it be possible to show the image name on the checkout form and invoice?
Title: Re: Show product title as main image name
Post by: jacobi22 on January 09, 2012, 10:31:50 AM
Why the image name? whats the background for that?
if you set the image name for product name / page-title (manually), you have a simple resolution
Title: Re: Show product title as main image name
Post by: Bug on January 31, 2012, 08:29:28 AM
All you ask for is possible!

Do not let people tell you that your strange questions cannot be made
Title: Re: Show product title as main image name
Post by: Bug on February 01, 2012, 08:01:18 AM
If you change some stuff in the save_post.php you can let the main image be the name of the product

The name of the main image is added the the db table as $main_image

So when the output of the form is received by the save_post.php you can change stuff like

$title = title to $main_image = title