Results 1 to 2 of 2
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    270
    Can you use the IF statement in detail pages? I want to use it so the "buy now" button does not show up if we are out of stock.

    I am getting way to many orders for items that are clearly indicated to be out of stock. Then when I notify the customer they just cancel the order.

    I have tried repeatedly to get this to work, but so far I have not succeeded using the IF statement on a detail page.

    Any help would be great!

    Burke

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Bsnrjones:
    Can you use the IF statement in detail pages? I want to use it so the "buy now" button does not show up if we are out of stock.

    I am getting way to many orders for items that are clearly indicated to be out of stock. Then when I notify the customer they just cancel the order.

    I have tried repeatedly to get this to work, but so far I have not succeeded using the IF statement on a detail page.
    <HR></BLOCKQUOTE>

    The WM-If tag can be used in either a detail or index template. If you're still having the issue please post the relevant portion of your template so we can see what's happening.

    I'm curious: How will a static page be able to know if a product is currently out of stock?

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Can WM be used without detail pages?
    By webworker in forum WebMerge (Fourthworld.com)
    Replies: 29
    Last Post: July 3rd, 2006, 05:58 PM
  2. Links on detail pages
    By Proverb in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: June 28th, 2006, 09:09 PM
  3. WM-IF statement, only for Index pages?
    By photonstudios in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: February 17th, 2004, 12:52 AM
  4. Detail Pages
    By perudc in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: November 3rd, 2003, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •