WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started 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
-
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
-
Thanks, would it be possible to show the image name on the checkout form and invoice?
-
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
-
All you ask for is possible!
Do not let people tell you that your strange questions cannot be made
-
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