Inactive Products

Discussion in 'Customization & add-ons' started by lushtech, Jan 11, 2011.

  1. lushtech

    lushtech New Member

    Joined:
    Jul 16, 2010
    Messages:
    20
    We are using the price group specific URLs. I realized today that if I delete a product, however, the user will still get a partially generated page. For those of you that have created custom pages based on price group specific URL's, how did you handle "taking a product off the market" and professionally letting someone know if they click that old link that the product is no longer available?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Interesting point- think a hack will be needed for that.
    maybe add a
    {if $products|@count eq 0}
    product is no longer available.
    {/if}

    before:

    {foreach from=$products item=p}


    David

Share This Page