ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Simple Commerce - Multiple Item Trouble

February 09, 2011 5:34pm

Subscribe [2]
  • #1 / Feb 09, 2011 5:34pm

    finfinwabbit

    11 posts

    Hi,

    To begin, I’ll post the code I have:

    
    
    


    In my “store” channel, I have two entries, one for adhesive and one for blades. This code results in both items appearing on the page, but their respective links go to the same item (whichever is the one I put in the entry ID field). I attached an image to help give you an idea.


    I am just wondering how to make item 1 link to entry 63, and item 2 link to entry 64.

    Any help is appreciated, thanks.

  • #2 / Feb 10, 2011 8:38am

    Sue Crocker

    26054 posts

    Hi, finfinwabbit.

    See how you’re using entry_id = “64” ?

    If you put in entry_id = “{entry_id}” instead, EE will grab that info from the exp:channel:entries loop and fill it in for you.

    Does that help?

  • #3 / Feb 10, 2011 1:22pm

    finfinwabbit

    11 posts

    Brilliant, thanks again Sue. I much appreciate the help.

  • #4 / Feb 10, 2011 2:17pm

    Ingmar

    29245 posts

    Very glad to see you’re all set. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases