Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Putting .swf button for "checkout"


rus3439

Recommended Posts

Hi,

I am trying to substitute .swf flash button for "checkout" link. In sts_display_output.php file i substituted header_checkout.gif file for button.swf. The button won't display.

Does anybody know what the problem is?

 

Appreciate your help,

Thanks,

Ruslan

We are not that rich to buy cheap things

Link to comment
Share on other sites

  • 4 weeks later...

You might want to verify that the server recognizes that mime type.

 

Check your .htaccess file. There should be a line on it that says,

 

AddType application/x-shockwave-flash .swf

 

If that's not the problem, I'm sorry. I'm still stumbling my way around osCommerce.

Have noticed that some things need changing on several .php files as they are all connected to each other. So, unless someone else comes along with a good answer, I'd just keeping searching all the php files for .gif extensions.

 

Good luck.

Link to comment
Share on other sites

You might want to verify that the server recognizes that mime type.

 

Check your .htaccess file. There should be a line on it that says,

 

AddType application/x-shockwave-flash .swf

 

If that's not the problem, I'm sorry. I'm still stumbling my way around osCommerce.

Have noticed that some things need changing on several .php files as they are all connected to each other.  So, unless someone else comes along with a good answer, I'd just keeping searching all the php files for .gif extensions.

 

Good luck.

 

I'm guessing but I think you'll have to drop all the accompanying flash code into your template in order to get it to display. So all the stuff that looks like

 

<OBJECT WIDTH="430" HEIGHT="171" id="teaser" ALIGN="">

<PARAM NAME=movie VALUE="teaser.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="teaser.swf" quality=high bgcolor=#FFFFFF WIDTH="430" HEIGHT="171" NAME="teaser" ALIGN=""

TYPE="application/x-shockwave-flash"></EMBED>

</OBJECT>

 

Or you'll get nada.

 

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

Oh, and how are you getting the variable/post to the button?

 

The bit that specifies the product.

<input type="hidden" name="products_id" value="41">

 

That's probably the biggest hurdle once you get the button to display.

 

Iggy

Everything's funny but nothing's a joke...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...