Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2014
    Location
    Northern Virginia
    Posts
    81
    Plugin Contributions
    0

    Default Re: How do you export product URL's?

    Hmm, I am not sure if I grasp what you have suggested. Do you mean putting all this together from the database tables themselves?

    I can easily just append the server name to a combination of data in other columns, but what about the URL's that use subcategories? An example would be servername:///index.php?main_page=product_info&cPath=312_322&products_id=611 (ones with underscore to separate category to subcategory)

    I was thinking of just using an Excel formula to build all the product URL's, (servername + category + products_id) but ran into a snag when I realized a lot of the products are in subcategories such as the example above
    Last edited by jokkah; 27 Oct 2014 at 07:50 PM.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How do you export product URL's?

    Technically all that is needed for those is the last category. The product type is still important if you are using any product type other than the default product type 1 (product_info) but yes, could just use the data from myphpadmin to create the uri. Afterall that's all that really happens anyways, it's just done through functions and procedures to give a consistent method.

    Try going to that product omitting the 312_ and open a browser next to it, with the uri above. What's the difference between the two other than the uri?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Aug 2014
    Location
    Northern Virginia
    Posts
    81
    Plugin Contributions
    0

    Default Re: How do you export product URL's?

    Quote Originally Posted by mc12345678 View Post
    Technically all that is needed for those is the last category. The product type is still important if you are using any product type other than the default product type 1 (product_info) but yes, could just use the data from myphpadmin to create the uri. Afterall that's all that really happens anyways, it's just done through functions and procedures to give a consistent method.

    Try going to that product omitting the 312_ and open a browser next to it, with the uri above. What's the difference between the two other than the uri?
    Ah. I see.

    Well, removing the 312_ goes to the product, but the breadcrumb is omitted. Also, on the left side of the page where the categories are listed, it doesn't drill down in a 'tree' format to see the category all the way to sub or sub-sub category. I suppose this is ok for Google Merchant because you can still purchase the product from that page?

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How do you export product URL's?

    Would generally agree, but may cause some confusion to a visitor... Almost done with a mod to EP4 to incorporate/add the uri to the full products export, and will duplicate something similar for categories. Looking at this being switchable from the EP4 configuration menu so that it is something that can be turned off (faster processing) if not desired to include. Doing this instead of creating a new export option as it seems somewhat more appropriate.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Aug 2014
    Location
    Northern Virginia
    Posts
    81
    Plugin Contributions
    0

    Default Re: How do you export product URL's?

    Quote Originally Posted by mc12345678 View Post
    Would generally agree, but may cause some confusion to a visitor... Almost done with a mod to EP4 to incorporate/add the uri to the full products export, and will duplicate something similar for categories. Looking at this being switchable from the EP4 configuration menu so that it is something that can be turned off (faster processing) if not desired to include. Doing this instead of creating a new export option as it seems somewhat more appropriate.
    I seem to have something working....here is what I did:

    1. Run the following MySQL Query:
    Code:
    SELECT master_categories_id, products.`products_id`, products_description.`products_name`
    FROM products
    INNER JOIN products_description
    ON products.`products_id` = products_description.`products_id`
    2. Save results to CSV

    3. Open CSV in Excel, add 'http://store.yourstore.com/index.php?main_page=index&cPath=' to one column

    4. Add '&products_id=' to another column

    5. In final column, use the formula '=D3&A3&E3&B3' or something like that to add URL (step 3 URL), plus master_categories_id, plus second URL piece (step 4) plus products_id

    The result of that column should be the complete URL

    I hope there is a better, more automated way soon!! (and I hope this makes sense)

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How do you export product URL's?

    Quote Originally Posted by jokkah View Post
    I seem to have something working....here is what I did:

    1. Run the following MySQL Query:
    Code:
    SELECT master_categories_id, products.`products_id`, products_description.`products_name`
    FROM products
    INNER JOIN products_description
    ON products.`products_id` = products_description.`products_id`
    2. Save results to CSV

    3. Open CSV in Excel, add 'http://store.yourstore.com/index.php?main_page=index&cPath=' to one column

    4. Add '&products_id=' to another column

    5. In final column, use the formula '=D3&A3&E3&B3' or something like that to add URL (step 3 URL), plus master_categories_id, plus second URL piece (step 4) plus products_id

    The result of that column should be the complete URL

    I hope there is a better, more automated way soon!! (and I hope this makes sense)
    Generally makes sense though would have helped others to identify exactly which column was represented by each of the cell values. :) would have had EP4 up, but some of the ZC cross functions were kicking my ########. If I required the functions_categories.php file it conflicted with something else in the admin. Finally found the admin side function to generate the category path, but had to leave before I could test it. EP4 version 4.0.27 coming soon with the added functionality of providing the path to products as given by using zen_catalog_href_link functionality from the admin. Had a solution earlier this week, but the host on which it was tested started having problems, so had to delay completion of the change. An added benefit of this functionality is that if say CEON URI Mapping is installed and active, then the resulting rewritten paths will be provided. Not sure of the other uri rewriters and theirintegration with the admin's zen_catalog_href_link code. Ohh, and still will be a day or two considering a "holiday" that is coming. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How do you export product URL's?

    Quote Originally Posted by jokkah View Post
    I seem to have something working....here is what I did:

    1. Run the following MySQL Query:
    Code:
    SELECT master_categories_id, products.`products_id`, products_description.`products_name`
    FROM products
    INNER JOIN products_description
    ON products.`products_id` = products_description.`products_id`
    2. Save results to CSV

    3. Open CSV in Excel, add 'http://store.yourstore.com/index.php?main_page=index&cPath=' to one column

    4. Add '&products_id=' to another column

    5. In final column, use the formula '=D3&A3&E3&B3' or something like that to add URL (step 3 URL), plus master_categories_id, plus second URL piece (step 4) plus products_id

    The result of that column should be the complete URL

    I hope there is a better, more automated way soon!! (and I hope this makes sense)
    Version 4.0.27 to EP4 has been uploaded to https://github.com/mc12345678/EasyPopulate-4.0 which should eventually be mirrored to https://github.com/chaddro/EasyPopulate-4.0. A similar message will be posted on the EasyPopulate v4 thread (http://www.zen-cart.com/showthread.p...Support-Thread).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. ARGH! Feed Export>Need Product URL for Amazon Product Ads!
    By fwood in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 20 Sep 2014, 02:57 AM
  2. v151 a new URL router (SEO URL if you will) on it's way
    By pasi in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Jan 2014, 08:17 AM
  3. How do you completely uninstall/remove Ultimate SEO URL's Mod
    By wmorris in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Apr 2011, 10:03 PM
  4. How do you I generate the full url of a product in a script that resides in admin?
    By david_johns in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Jul 2010, 03:31 AM
  5. How Do You Export emails?
    By DivaDesignz in forum General Questions
    Replies: 1
    Last Post: 28 Mar 2009, 06:27 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