Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Reference new page in url address

    I'm eager to find out how to make a page that I created referenced in the URL. For example zen already has http://www.site_address.com/index.ph..._page=site_map or http://www.site_address.com/index.php?main_page=send_gv. Say I have a page that I want to be referenced in the url address bar as http://www.site_address.com/index.php?main_page=buy_gv

    What would I have to modify??

    _thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Reference new page in url address

    Download the "About Us" addon. It is an example of a new "page" being added to the store. Customize it as needed.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Reference new page in url address

    I will certainly try this and let you know how I got on..

    _thanks very much Dr

  4. #4
    Join Date
    Nov 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Reference new page in url address

    I'm assuming you want to create a new page and have Zen Cart automatically include it in the navigation. Two other options are:

    1. Use the built-in defined pages. Go to Admin > Tools > Define Pages Editor > defined_page_2.php etc.

    2. Use EZ Pages (I can't remember if this is built in or is an add-on!). If you've got it you'll find it under Admin > Tools > EZ Pages > New File.

  5. #5
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Reference new page in url address

    .. ok so I have installed the add on - it seems to be exactly what I need. I am having a few problems though - let me explain...

    I wish to use the page just like the product_info page but for a specific product - how could I achieve this so that the information is processed and sent to the shopping cart just like for the product_info page?

    _thanks

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Reference new page in url address

    You can't.

    Sounds like you're really wanting a separate product type instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Reference new page in url address

    I believe that all things are possible. Maybe I couldn't right now but I know that you could..

    Yes the separate product is a GV - doesn't seem right selling it like a normal product..

    _thanks for the help as ever

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Reference new page in url address

    Quote Originally Posted by g_force View Post
    Yes the separate product is a GV - doesn't seem right selling it like a normal product..
    Why not? It's still something you have to add-to-cart, and complete payment with.
    There's already full built-in support for handling purchase of GVs as regular products if you simply follow the instructions. There's no need for a separate URL or separate product type for GVs.
    https://www.zen-cart.com/tutorials/index.php?article=64
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: Reference new page in url address

    Why not? It's still something you have to add-to-cart, and complete payment with.
    That's true the process is the same but the surroundings should differentiate the experience >> take betfair for example - placing a bet is completely different from depositing .. which is what GVs are essentially .. anyway thanks for the advice as always_

  10. #10
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Reference new page in url address

    If you want the pages to look different, you can certainly build your own product-type to suit your needs.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Searching for a plugin or "how to" to shorten page and product address url.
    By merchantdroid in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jul 2013, 01:05 PM
  2. Change URL reference ("www" vs not)
    By DesDev5 in forum General Questions
    Replies: 4
    Last Post: 26 Jun 2010, 09:27 PM
  3. Replies: 0
    Last Post: 12 May 2010, 02:44 PM
  4. Customizing URL address in SEO URL
    By ericny in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 May 2007, 07:23 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
  •  
disjunctive-egg