Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Extra Product Links


5 replies to this topic

#1 JoeB

  • Community Member
  • 58 posts
  • Real Name:Joe Bifano

Posted 14 June 2010, 06:33

I am looking for a way to add extra product links on the product page.

I know I can do it via the FCK editor and put it in my description as html but that is to much work. If there is a contribution that will add more product links in admin that would be great. I can add them in the products database and put in 3 or 4 new fields in it but want to have them listed like the product URL are.

I have looked at the contribution called extra products fields but not sure if I can add links in them or not.

The product has 2 or 3 sound files that I want to have links for so customers can hear them. I am not selling music but maybe something like that might work.

Any ideas?

#2 JoeB

  • Community Member
  • 58 posts
  • Real Name:Joe Bifano

Posted 15 June 2010, 01:20

Anybody have any ideas?

#3 wdepot

  • Community Member
  • 38 posts
  • Real Name:Kevin L. Shelton
  • Gender:Male
  • Location:Yuba City, California

Posted 26 June 2010, 00:12

View PostJoeB, on 15 June 2010, 01:20, said:

Anybody have any ideas?
I'm afraid the Extra Product Fields would not create a link for you automatically of that is what you are asking. There is no restriction against adding HTML to the contents of an extra field but you would have to do it manually. The TinyMCE editor allows you to insert an image in the product description and will generate most of the HTML for you but I don't know if it would work for a sound file or not.

#4 burt

  • Community Sponsor
  • 6,951 posts
  • Real Name:G Burton
  • Gender:Male
  • Location:UK/DEV/on

Posted 26 June 2010, 11:29

Should take you not more than an hour to;

Change the product adding page to allow for extra inputs. Copy the existing code but rename appropriately.

Add to database to hold the values.

Check if database values are not null and show the links if appropriate on product_info page.
The Dirty Little Secrets that no osCommerce template sellers want you to know...revealed...

Support is commercially available. The question is whether you value your business
highly enough to spend money on it.

To see the types of commercial support I provide, please see my osCommerce profile.

For commercial support from known developers who support osCommerce
ethos, please post at http://forums.oscommerce.com/forum/79-commercial-support/

#5 JoeB

  • Community Member
  • 58 posts
  • Real Name:Joe Bifano

Posted 26 June 2010, 15:52

Thanks guys,

I added the contribution called extra fields to get what I needed for the sound files. I have only tested a few things but it seams to work.

#6 dealwititp

  • Community Member
  • 46 posts
  • Real Name:Walt
  • Gender:Male
  • Location:Detroit, MI

Posted 27 June 2010, 15:34

View Postwdepot, on 26 June 2010, 00:12, said:

I'm afraid the Extra Product Fields would not create a link for you automatically of that is what you are asking. There is no restriction against adding HTML to the contents of an extra field but you would have to do it manually. The TinyMCE editor allows you to insert an image in the product description and will generate most of the HTML for you but I don't know if it would work for a sound file or not.

I can confirm that the extra fields will work with a sound file. I tested it by putting a direct link to an mp3 file and then input code for flash button that was set to play an mp3. Both ways work great. This is a good contribution for people who are creating an mp3 download store. You can display a preview button on the product info page and store a reference to the audio in the database. I used My Website Talks software to generate the flash mp3 button.