X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   .swf instead of product image (https://forum.x-cart.com/showthread.php?t=45717)

jholley 02-20-2009 09:07 AM

.swf instead of product image
 
Is there a way to force X-Cart to allow the placement of a .swf file instead of an image for the product photo?

gb2world 02-21-2009 11:18 PM

Re: .swf instead of product image
 
Here are a couple of suggestions:
- try this mod for adding the video in a shadowbox

- Use an extra field for the swf - then add code to filter the extra filed and display the video on your product page as you want it.

jholley 02-22-2009 08:54 AM

Re: .swf instead of product image
 
Quote:

Originally Posted by gb2world
Here are a couple of suggestions:
- try this mod for adding the video in a shadowbox

- Use an extra field for the swf - then add code to filter the extra filed and display the video on your product page as you want it.

I am actually using it now in an extra field, I'm just not happy with it. I would rather it be in the product image location.

thanks for the info.

gb2world 02-22-2009 09:39 AM

Re: .swf instead of product image
 
You can remove/comment out the code for the regular image display, then display the extra field with the swf wherever you want on the product page.

You can run the section that loops through the extra fields, then just display the one for the swf only. This thread should tell you how.

(I am assuming 4.2 did not change the method & smarty for extra fields. If 4.2 is different - you may have to ask to move this to the 4.2 thread.)


All times are GMT -8. The time now is 07:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.