| ||||||||||
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 |
#21
|
|||||||
|
|||||||
Try hitting the 'Update' button instead of that link "The image will be saved as the product thumbnail..." at the bottom. The image should upload.
Jeanne 4.0.16 |
|||||||
#22
|
|||||||
|
|||||||
Does any1 knows if it's possible to have Radio buttons with images instead of a drop down box?
Thanks
__________________
Webstroika.com - Web / Print / Multimedia Lambo Doors - Direct Bolt-on Vertical Doors and Universal Vertical Door Conversion Kits - X-cart Gold 4.2.1 |
|||||||
#23
|
|||||||
|
|||||||
Mike did a cool mod using css based colour swatches (not radio buttons but the same principle -- if you really wanted radios instead of colour swatches it would be very easy to do). Have a look at
http://forum.x-cart.com/viewtopic.php?t=23190&postdays=0&postorder=asc&sta rt=0 In actual fact the posted code needs some very minor modification to make the colour swatches active -- contact Andrew (his username is AsiaPlay) to get help on this as he has completed his this week
__________________
4.0.12 Linux |
|||||||
#24
|
|||||||
|
|||||||
Hey thanx for pointing me to the right direction. i did change it to radio buttons instead of a drop down. and i have images next to the name, but images are all the same.
What i did is i took this code from skin1/modules/Product_Options/product_variants.tpl here is my /modules/Product_Options/customer_options.tpl Code:
__________________
Webstroika.com - Web / Print / Multimedia Lambo Doors - Direct Bolt-on Vertical Doors and Universal Vertical Door Conversion Kits - X-cart Gold 4.2.1 |
|||||||
#25
|
|||||||
|
|||||||
Thanks ianwebster and others for the mod and different add-ons. It works well. Unfortunatelly - in my opinion - this mod is not finished yet. If one implements all the suggested changes he gets his images changed with variants but what about the thumbnail image in the cart? It stays the same (it is the original thumbnail) which - I think - confuses customers quite a bit.
To make myself clear - lets say you change the colour of the t-shirt you want to buy by choosing the right variant, you see it on screen nice and clean and then you click on the "add to cart" button, you go to the cart section and .... you see your have just bought your T-shirt in a different colour. Now that seems to be more confusing now than before. Or is it just me who cannot grasp the whole idea?
__________________
4.0.17 |
|||||||
#26
|
|||||||
|
|||||||
Well this depends on how much modification you have made to the visual aspects of your cart (and is really a completely separate thread). Nevertheless, if you visit the following url and add 2 different colours to your shopping bag and then view the shopping bag, you will see it in action
www.lastangelsonearth.co.uk/heavenly/product.php?productid=16176 This is how I did mine: Firstly, I created a new imageX.php file with this at the beginning: Code:
Then in customer/main/cart.tpl I changed the image call to this: Code:
PS this gives you the idea of what to do -- you will need to sort out exactly how it fits into your cart (since I have made a whole range of other changes to my cart) PPS Of course, in light of this, we make all our product images square so that we can hard code the image attributes here (also helps with consistant display on the product pages too)
__________________
4.0.12 Linux |
|||||||
#27
|
|||||||
|
|||||||
Yes, it works and solves the problem.
I have learnt a lot from your posts. Cleanly written, easy to understand, one can implement it just by copying and pasting if he does not want to go into details. Simply excellent. Thank you.
__________________
4.0.17 |
|||||||
#28
|
|||||||
|
|||||||
how would change the image to call on a thumbnail when it displays in the cart (as my detailed images are all diffrent sizes) instead of using the image that is cached? i would also appreciate the same idea for the admin console. Any and all help is greatly appreciated.
__________________
Matthew E Wawrzyniec iCrunk LLC Xcart v4.0.14 |
|||||||
#29
|
|||||||
|
|||||||
Hi, first of all, thanks for that great mod.
I've done everything and I've got it to work exactly as designed. However, although it is not affecting anything, I do have a javascript error on IE status bar when I click on change,gif (in admin variant). Line1 char 7 Syntax error. Firefox tells me that the error is at javascript: void(); with a green arrow pointing at the semi-colon. Any idea? -------------------------------------------------- edit: never mind. I placed a '0' between the brackets and it's gone. javascript: void(0);
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#30
|
|||||||
|
|||||||
Quote:
here is an old php function I used to use some time ago to insert an image dynamically Code:
Note: the error_reporting was to prevent bitching to screen by the server if the file was not found as I recall -- this may be different now so check out www.php.net Sorry I dont have time to do the whole thing for you here -- my suggestion is to edit the code something like this: Code:
you can hardcode or exclude some of the other parameters if you know they are always the same. My own solution to the issue in this case, as I say, was to make all my images the same size instead
__________________
4.0.12 Linux |
|||||||
|
|||
X-Cart forums © 2001-2020
|