Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Location
    In beautyful New York
    Posts
    160
    Plugin Contributions
    2

    Default how to get URL to categories, products, manufactures and ez-pages

    Hi,
    is there any way to get the url / path to a specific category or product

    for EZ pages i have this code
    PHP Code:
    echo zen_ez_pages_link(1); 
    and the static pages you can use the DEFINE_*

    and what about manufactures etc.?


    This is needed because the url to products and categories etc. can be rewritten by mods like Ceon uri mapping
    Your help is greatly appreciated

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: how to get URL to categories, products, manufactures and ez-pages

    Quote Originally Posted by eVelt View Post
    Hi,
    is there any way to get the url / path to a specific category or product
    I'm probably missing something here, but the easiest way is to navigate to the product or category (with a web browser) and simply copy the URL from the address bar.

    This seems too easy though, which is why I think I'm missing something.

    Cheers
    RodG

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to get URL to categories, products, manufactures and ez-pages

    In EZ-Pages, if I wanted to go to cPath 3_10, I would use:
    index.php?main_page=index&cPath=3_10

    If I wanted to go to Privacy Notice I would use:
    index.php?main_page=privacy

    If I wanted to go to products_id 12, I would use:
    index.php?main_page=product_info&products_id=12
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v150 Problem Moving to new URL and cannot get pages to show - 404 errors
    By marketingspartan in forum General Questions
    Replies: 3
    Last Post: 5 Nov 2013, 03:42 PM
  2. v138a how do we get our feeds into products and categories?
    By KJ11 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 8 Mar 2012, 11:30 PM
  3. Replies: 1
    Last Post: 9 Apr 2009, 12:12 PM
  4. Manufactures pages: display products only if in stock (quantity =1+)
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Oct 2008, 09:52 PM
  5. Custom Dynamic Extra Pages with URL parameters, GET, POST - for Define and EZ Pages
    By bjoly in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jul 2006, 04:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR