Adding some fields to each product offered

Discussion in 'Customization & add-ons' started by LarrySeyer, Jan 30, 2009.

  1. LarrySeyer

    LarrySeyer New Member

    Joined:
    Aug 22, 2006
    Messages:
    8
    I want to be able to add some fields to each product that is listed on the signup page.

    Specifically, I want to add a picture, a link to a sound bite or a script for an audio/video player.

    We sell access to large audio and video download directories and would like to offer a sample of what is in each directory along side the products listed in the signup page.

    Thanks in advance!

    http://www.DivineCosmos.com/amember

    And also

    http://www.LarrySeyerDigital.com/amember

    And yet also

    http://www.LearnGigaStudio.com/amember

    All the best to you!

    Larry
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    You can place HTML within the description field which should allow you to do just about anything you are asking for (..images, etc)
  3. LarrySeyer

    LarrySeyer New Member

    Joined:
    Aug 22, 2006
    Messages:
    8
    Thank you for the suggestion.

    However, that won't work for me.

    I would like the fields to be part of the amember database tied to the products.

    Having to hand code 100's of products in html is not my idea of fun.

    Any other suggestions?
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hey Larry,

    What I am suggesting is to edit the product description which is stored in the aMember database.

    An image, for example, would not take much more effort than entering an image location in a custom field somewhere:

    Code:
    <img src="/image_path/image_name.gif" />
    That is an out of the box solution for you.

    If you are up to customizing code, certainly anything is possible.

    You may be able to get creative with a fairly easy hack such as adding something like
    Code:
    <img src="/image_path/'.$p.id.'.jpg" /> 
    in the signup page within the for each loop of the product display. And then have an image for each product based on the number of the product (1.jpg, 2.jpg), etc.

    You could replace $p.id with $p.title if you wanted to use a SEO friendly title name for the images (depending on your setup)

Share This Page