Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2009
    Posts
    861
    Plugin Contributions
    0

    Default URL before releasing a new product

    Is there a way to find out the URL of a particular product before it is released in the store?

    The reason I am looking for that is in order to schedule posts on my blog or on FB where I would be able to use the URL ahead of time.

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: URL before release

    Wouldn't the canonical just be....
    mywebsite(dot)com/index.php?main_page=product_info&products_id=123456
    where 123456 is the product id of that product

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

    Default Re: URL before release

    Possibly, but it also involves the category with a different ID.
    I would not want to have the wrong url by putting the pieces together, so i was hoping there was a simple way to copy/paste it from somewhere.

  4. #4
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: URL before release

    Quote Originally Posted by CaroleAs View Post
    Possibly, but it also involves the category with a different ID.
    I would not want to have the wrong url by putting the pieces together, so i was hoping there was a simple way to copy/paste it from somewhere.

    There are many possible urls if you want to include a cPath as it may be in many categories.
    However the canonical url is normally the direct route to the product and regardless of how many categories it may be in. The canonical url is always the same. (unless you have modified default zencart behaviour)

  5. #5
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: URL before release

    Quote Originally Posted by CaroleAs View Post
    Possibly, but it also involves the category with a different ID.
    I would not want to have the wrong url by putting the pieces together, so i was hoping there was a simple way to copy/paste it from somewhere.
    While looking at the product in your categories/products listing, between the products_id and the product's name, there should be a "preview" button. The link there contains only the cPath of the current category rather than the "tree" that leads to that particular category, but otherwise the link presented there is expected to be the URL (at least in ZC 1.5.6 that became the case, I don't think I have a 1.5.5 site to which to access and validate/review)... The "direct" cPath though to land at the "desired" category would be built with the top category first, underscore, the next subcategory, underscore, final category.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: URL before release

    Presumably you currently have the product marked as 'disabled'. The easiest of doing this, other than manually creating the URL, is to enable the product then copy the URL before disabling it again.
    Simon

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

    Default Re: URL before release

    Quote Originally Posted by simon1066 View Post
    Presumably you currently have the product marked as 'disabled'. The easiest of doing this, other than manually creating the URL, is to enable the product then copy the URL before disabling it again.
    Thanks. I thought there was a "simpler" way while in the backend and uploading the product.

  8. #8
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,590
    Plugin Contributions
    30

    Default Re: URL before release

    To paraphrase:

    Name:  Clipboard01.gif
Views: 72
Size:  8.8 KB
    you can copy the link from that icon (which is used to open the product in the shop).
    A caveat is that if you are using a url rewriter to make "friendly" urls, this will also be "friendly"...which will becoem a broken link/break if you edit the name of that product.
    So, you should always post the native/static url (... index.php?main_page=product_info etc..) and always use the native url if you are using links inside product descriptions to other products).
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

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

    Default Re: URL before release

    Quote Originally Posted by torvista View Post
    To paraphrase:

    Name:  Clipboard01.gif
Views: 72
Size:  8.8 KB
    you can copy the link from that icon (which is used to open the product in the shop).
    A caveat is that if you are using a url rewriter to make "friendly" urls, this will also be "friendly"...which will becoem a broken link/break if you edit the name of that product.
    So, you should always post the native/static url (... index.php?main_page=product_info etc..) and always use the native url if you are using links inside product descriptions to other products).
    If I right-click on that icon, copy and paste it into a new window, it does not direct me to the store.
    Here is one link I would get from that icon:

    https:// creationcassel.com/store/my-actual-admin/product.php?cPath=9&pID=412&action=new_product_preview&read=only&product_type=1

    Am I looking in the wrong place?

  10. #10
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: URL before release

    What friendly url rewriter are you using where the name change results in a broken link?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Can ZC validate previous order before new product can be purchased??
    By PB2009 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Aug 2009, 05:43 AM
  2. increase gap at bottom of product listing page before 'new products for' box
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jun 2009, 01:33 PM
  3. open product url in new page
    By dannyd in forum General Questions
    Replies: 3
    Last Post: 2 Mar 2009, 11:22 PM
  4. Gift Certificates Releasing before I release them.
    By shop4itnow in forum General Questions
    Replies: 9
    Last Post: 12 Dec 2006, 01:50 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