Announcement

Collapse
No announcement yet.

if no products in CPT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    if no products in CPT



    So my tokens would be %begin_noproducts%%cattitleimage%%end_hasproducts% ???

    Leslie

    Looks right to me.

    Jason
    ----- Original Message -----
    From: <[email protected]>
    To: <[email protected]>; <[email protected]>;
    <[email protected]>
    Sent: Thursday, November 04, 2004 9:40 AM
    Subject: Re: [mrc] if no products in CPT


    Okay now I am really confused. I used exactly what the newtoken.txt said to
    use:

    >>Added 2003/04/25:

    >>%begin_hasproducts%...%end_hasproducts% displays contents only if the
    category has no products
    >>%begin_noproducts%...%end_noproducts% displays contents only if the
    category has products

    I "assumed" all I had to do was replace the "..." with the title image
    token. Again - I must have yet another BAD copy of the newtoken.txt




    Original Message:
    -----------------
    From: Jason Henderson [email protected]
    Date: Thu, 4 Nov 2004 09:23:05 -0600
    To: [email protected], [email protected]
    Subject: Re: [mrc] if no products in CPT


    You are using the same token twice. You should be using the other one.
    %begin_noproducts% (straight from newtokens.txt and below
    %begin_hasproducts%)

    Jason


    The "logic" in the newtoken.txt seems backwards to me, but if I understand
    correctly my tokens would be:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % ...to display the
    category title image if the category has NO products. This is based on:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % displays contents only
    if the category has no products (straight from the newtoken.txt)

    Leslie




    Leslie,

    Search for noproducts and titleimage in newtokens.txt

    Jason
    JMH Web Services
    <A HREF ="http://www.jmhonline.net">http://www.jmhonline.net</A>
    Miva Merchant Development and Search Engine Optimization
    <A HREF ="http://www.jmhonline.net/searchmiva">http://www.jmhonline.net/searchmiva</A>
    Invited Speaker on SEO/Marketing at the 2003 & 2004 Official Miva Conference
    Subscribe now at:
    http://jmhonline.net/newsletters.html




    > Using the Category Page Template I want to be able to display the
    Category
    > Title Image (because that image is not being used in the layout) only if
    > no product(s) exist for the category. It would be a coming soon type
    > image. Anybody have a good conditional statement for that one?
    >
    > Thanks ya'll!
    > Leslie





    --------------------------------------------------------------------
    mail2web - Check your email from the web at
    http://mail2web.com/ .



    Leave a comment:


  • Guest's Avatar
    Guest replied
    if no products in CPT



    Okay now I am really confused=2E I used exactly what the newtoken=2Etxt sa=
    id to
    use:

    >>Added 2003/04/25:=20

    >>%begin_hasproducts%=2E=2E=2E%end_hasproducts% displays contents only if=
    the
    category has no products
    >>%begin_noproducts%=2E=2E=2E%end_noproducts% displays contents only if th=
    e
    category has products

    I "assumed" all I had to do was replace the "=2E=2E=2E" with the title ima=
    ge
    token=2E Again - I must have yet another BAD copy of the newtoken=2Etxt

    So my tokens would be %begin_noproducts%%cattitleimage%%end_hasproducts% ?=
    ??

    Leslie



    Original Message:
    -----------------
    From: Jason Henderson webmaster@mail=2Ejmhonline=2Enet
    Date: Thu, 4 Nov 2004 09:23:05 -0600
    To: leslie@websyourway=2Ecom, merchant-coders@miva=2Ecom
    Subject: Re: [mrc] if no products in CPT


    You are using the same token twice=2E You should be using the other one=2E=
    =20
    %begin_noproducts% (straight from newtokens=2Etxt and below=20
    %begin_hasproducts%)

    Jason


    The "logic" in the newtoken=2Etxt seems backwards to me, but if I understa=
    nd
    correctly my tokens would be:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % =2E=2E=2Eto display th=
    e
    category title image if the category has NO products=2E This is based on:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % displays contents onl=
    y
    if the category has no products (straight from the newtoken=2Etxt)

    Leslie




    Leslie,

    Search for noproducts and titleimage in newtokens=2Etxt

    Jason
    JMH Web Services
    <A HREF ="http://www=2Ejmhonline=2Enet">http://www=2Ejmhonline=2Enet</A>
    Miva Merchant Development and Search Engine Optimization
    <A HREF ="http://www=2Ejmhonline=2Enet/searchmiva">http://www=2Ejmhonline=2Enet/searchmiva</A>
    Invited Speaker on SEO/Marketing at the 2003 & 2004 Official Miva Conferen=
    ce
    Subscribe now at:
    http://jmhonline=2Enet/newsletters=2Ehtml




    > Using the Category Page Template I want to be able to display the
    Category
    > Title Image (because that image is not being used in the layout) only if=

    > no product(s) exist for the category=2E It would be a coming soon type
    > image=2E Anybody have a good conditional statement for that one?
    >
    > Thanks ya'll!
    > Leslie





    --------------------------------------------------------------------
    mail2web - Check your email from the web at
    http://mail2web=2Ecom/ =2E



    Leave a comment:


  • Guest's Avatar
    Guest replied
    if no products in CPT



    You are using the same token twice. You should be using the other one.
    %begin_noproducts% (straight from newtokens.txt and below
    %begin_hasproducts%)

    Jason


    The "logic" in the newtoken.txt seems backwards to me, but if I understand
    correctly my tokens would be:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % ...to display the
    category title image if the category has NO products. This is based on:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % displays contents only
    if the category has no products (straight from the newtoken.txt)

    Leslie




    Leslie,

    Search for noproducts and titleimage in newtokens.txt

    Jason
    JMH Web Services
    <A HREF ="http://www.jmhonline.net">http://www.jmhonline.net</A>
    Miva Merchant Development and Search Engine Optimization
    <A HREF ="http://www.jmhonline.net/searchmiva">http://www.jmhonline.net/searchmiva</A>
    Invited Speaker on SEO/Marketing at the 2003 & 2004 Official Miva Conference
    Subscribe now at:
    http://jmhonline.net/newsletters.html




    > Using the Category Page Template I want to be able to display the
    Category
    > Title Image (because that image is not being used in the layout) only if
    > no product(s) exist for the category. It would be a coming soon type
    > image. Anybody have a good conditional statement for that one?
    >
    > Thanks ya'll!
    > Leslie


    --------------------------------------------------------------------
    mail2web - Check your email from the web at
    http://mail2web.com/ .




    Leave a comment:


  • Guest's Avatar
    Guest replied
    if no products in CPT



    The "logic" in the newtoken=2Etxt seems backwards to me, but if I understa=
    nd
    correctly my tokens would be:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % =2E=2E=2Eto display th=
    e
    category title image if the category has NO products=2E This is based on:

    %begin_hasproducts%%cattitleimage%%end_hasproducts % displays contents onl=
    y
    if the category has no products (straight from the newtoken=2Etxt)

    Leslie




    Leslie,

    Search for noproducts and titleimage in newtokens=2Etxt

    Jason
    JMH Web Services
    <A HREF ="http://www=2Ejmhonline=2Enet">http://www=2Ejmhonline=2Enet</A>
    Miva Merchant Development and Search Engine Optimization
    <A HREF ="http://www=2Ejmhonline=2Enet/searchmiva">http://www=2Ejmhonline=2Enet/searchmiva</A>
    Invited Speaker on SEO/Marketing at the 2003 & 2004 Official Miva Conferen=
    ce
    Subscribe now at:
    http://jmhonline=2Enet/newsletters=2Ehtml




    > Using the Category Page Template I want to be able to display the
    Category=20
    > Title Image (because that image is not being used in the layout) only if=
    =20
    > no product(s) exist for the category=2E It would be a coming soon type=20=

    > image=2E Anybody have a good conditional statement for that one?
    >
    > Thanks ya'll!
    > Leslie


    --------------------------------------------------------------------
    mail2web - Check your email from the web at
    http://mail2web=2Ecom/ =2E



    Leave a comment:


  • Guest's Avatar
    Guest started a topic if no products in CPT

    if no products in CPT



    Leslie,

    Search for noproducts and titleimage in newtokens.txt

    Jason
    JMH Web Services
    <A HREF ="http://www.jmhonline.net">http://www.jmhonline.net</A>
    Miva Merchant Development and Search Engine Optimization
    <A HREF ="http://www.jmhonline.net/searchmiva">http://www.jmhonline.net/searchmiva</A>
    Invited Speaker on SEO/Marketing at the 2003 & 2004 Official Miva Conference
    Subscribe now at:
    http://jmhonline.net/newsletters.html




    > Using the Category Page Template I want to be able to display the Category
    > Title Image (because that image is not being used in the layout) only if
    > no product(s) exist for the category. It would be a coming soon type
    > image. Anybody have a good conditional statement for that one?
    >
    > Thanks ya'll!
    > Leslie
    >
    >
Working...
X