Author Topic: Show product title as main image name  (Read 2812 times)

daydreamer

  • Guest
Show product title as main image name
« on: January 07, 2012, 02:38:01 AM »
How would I show the main image file name as the product name automatically?

Thanks

jacobi22

  • Guest
Re: Show product title as main image name
« Reply #1 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

daydreamer

  • Guest
Re: Show product title as main image name
« Reply #2 on: January 08, 2012, 06:39:02 PM »
Thanks, would it be possible to show the image name on the checkout form and invoice?

jacobi22

  • Guest
Re: Show product title as main image name
« Reply #3 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

Offline Bug

  • Posts: 237
Re: Show product title as main image name
« Reply #4 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

Offline Bug

  • Posts: 237
Re: Show product title as main image name
« Reply #5 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



 

postern-length