Welcome to myAmeriCommerce Sign in | Join | Help

Conditional merges / am I using the wrong Store IDs?

  •  02-06-2008, 12:26 PM

    Conditional merges / am I using the wrong Store IDs?

    I'm trying to use a conditional site merge based on the store ID - but it doesn't seem to be working.  I'm using it in both if / endif and if / else / endif ways, as shown below...  But I might not have the right store IDs.  I got my store IDs by showing the total request time line at the bottom of each page.

     

    Of course, that doesn't explain why the if / else / endif doesn't show the "else" part of the code.  So am I not using the conditional store ID site merge correctly?

     

    ##IF[STOREID=1]##

    html to show on store1

    ##ENDIF##

    ##IF[STOREID=2]##

    html to show on store2

    ##ENDIF##

     

     

    <p>##IF[StoreID=1]## show on store 1 ##ELSE## show on store 2 ##ENDIF##</p> 

    Filed under:
View Complete Thread