| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Options and Image previews - any ideas? | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Hi
Looks like a great Mod. I do have a problem though. I cannot seem to be able to upload any photos on the Product variant new admin. The image thumb apears but when I click on the link : The image will be saved as the product thumbnail after you click on "Save" The image is not saved where it is supposed to. Not sure where to look. Itripple check all mods but without success. Thank you very much for your great assistance. J. [img][/img]
__________________
Version 4.0.13 |
|||||||
#12
|
|||||||
|
|||||||
Hi Jeffos
I am not entirely clear on your exact problem -- please can you be more specific about what you are doing, what is working and what is not working (a bit more detail is required for me to understand) Please also let me know if you are you using blobs or urls for your images. I am using urls to the images (which have already been uploaded to my server using ftp so I just select them). It may need to be tweaked if you are using blobs and/or you are uploading images from your local machine thanks Ian
__________________
4.0.12 Linux |
|||||||
#13
|
|||||||
|
|||||||
Hi Sorry for the lack of info.
Here is the printscreen of my product variant admin area http://lightpointonline.com/X-Cart/noupload.jpg I tried to upload photos from the three option I have at my disaposal. From my PC, Through Url and Pointing to the files on the server. I tried to point to a photo to various directories in case there would be a htaccess issue with the files/master/ folder. But the thumb of the image appears perfectly fine under the Preview Variant Image. But when trying to save it nothing happens. Here is my product page as well http://www.lightpointonline.com/X-Cart/product.php?productid=16134&cat=248&page= Trying to display the variant image in the thumb underneath the main photo. From the Color Pull down menu. Just as your great mod is intended. thank you very much for your help. I know it is probably a small stuff. [/img]
__________________
Version 4.0.13 |
|||||||
#14
|
|||||||
|
|||||||
Here is my skin1/modules/Product_Options/product_variants.tpl
Code:
and my modules/Product_Options/product_variants.php Code:
They both should be the exact copy of the Mod. No change. Maybe I miss a > or somthing. But I get no error. Let me know if you need to see any other of the modified files. Thank you
__________________
Version 4.0.13 |
|||||||
#15
|
|||||||
|
|||||||
actually I'm trying to do something quite similar-
the thing is that on my site i use a detailed image for the product.tpl and not the thumbnail what modifications to the posts above would i have to make to get this to work with replacing a "detailed image" ? |
|||||||
#16
|
|||||||
|
|||||||
Actually in my case I am also replacing a detailed image. Despite the terminology used by xcart to describe the images as "thumbnails", that does not mean you cannot use the "thumbnail" table to refer to large images. The reason for using the thumbnail table in this mod (rather than the detailed images) is that most of the code is already there by default in product.tpl
In reality, since the javascript function checkoptions() is always called on loading the product page, you could actually use a spacer.gif (with width and height attributes set) as long as its id=product_thumbnail .....and the javascript will automatically replace this with the image for the default product variant - NOTE if you do this, then ALL your product variants must have an image in the thumbnail table - I have instead decided to use the first detailed image as the product default image (that way I dont need to set the variant thumbnails iunless they are relevant)
__________________
4.0.12 Linux |
|||||||
#17
|
|||||||
|
|||||||
Main Image?
Quote:
How do you do this? Version 4.0.14 Gold |
|||||||
#18
|
|||||||
|
|||||||
I got it working in 4.0.14 here: http://www.goldmisers.com/product.php?productid=288&cat=29&page=1
Thanks ianwebster (somebody should upgrade this guy from nube to ACE!) You got my vote for mod of the year DUDE! |
|||||||
#19
|
|||||||
|
|||||||
Ian definitely gets my vote for mod of year. Not only does he offer the end user solution, but the admin config. as well. Although it is still easy to use phpMyAdmin to do an insertion into the thumbnail tpl for the variant linked images, one can imagine the usage of a client with the admin. portion of the mod.
I'm sure if folks saw Ian's sample- this would be one of the hot ones... I used it in combination with my variant auto-generated color swatches/images. Anyone know what to use for the equivalent <A HREF> to use do the same as the dropdiown options? Thanks mate! Makes me think twice about offering anything for sale mod-wise. - Mike
__________________
4.1.9 |
|||||||
#20
|
|||||||
|
|||||||
Jeffos, did you ever figure out what needed to be changed on yours to get it to work? I am seeing a similar result. Everything looks as if it should work, however I get the buttons for Delete Image and Change Image where the variant image should be inserted.
This is store is currently using 4.0.13
__________________
Version 4.15 |
|||||||
|
|||
X-Cart forums © 2001-2020
|