Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

.swf instead of product image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-20-2009, 09:07 AM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default .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?
__________________
Joe Holley
4.2
Reply With Quote
  #2  
Old 02-21-2009, 11:18 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 02-22-2009, 08:54 AM
 
jholley jholley is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 66
 

Default 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.
__________________
Joe Holley
4.2
Reply With Quote
  #4  
Old 02-22-2009, 09:39 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.)
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:08 PM.

   

 
X-Cart forums © 2001-2020