Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Generate a list with id, model and product links

    I have a huge problem. I used to generate the txt or csv files using Google feeder, but since the database has grown too large, I need a simplified way of generating my txt file, because right now it times out due to memory constraints, it doesn't matter to have all the info, just need the id and product links, the other software I have been using, Apsona Shop Admin, doesn't have a way to generate the product link URLs, I am trying to upload my list to TheFind, so I need a way to pull that, I tried to use the product_listing.php file inside /modules, but as it's inside Zen Cart, I can't just call the script because of security and permission problems, so if anyone can point me in the right direction about how to generate just the product links plus the id, or the model, without getting into security issues or permission problems I will greatly appreciate it, as I have tried several ways to do this, and none has worked so far...

    Code:
    $products_link = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . ( ($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : $_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
    I just need a way to put that into a for loop or end while or whatever and output 2 columns.

  2. #2
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Re: Generate a list with id, model and product links

    ok, I was thinking if I create a copy of list all products and rename it and modify it, might that work?

 

 

Similar Threads

  1. v154 generate product model, is it possible
    By Haggis in forum Setting Up Categories, Products, Attributes
    Replies: 22
    Last Post: 1 May 2016, 07:09 PM
  2. how to hide model/mfg in product list?
    By gentlemoms in forum Customization from the Admin
    Replies: 2
    Last Post: 23 Jan 2012, 02:55 PM
  3. Replies: 1
    Last Post: 29 Sep 2008, 04:32 PM
  4. Replies: 3
    Last Post: 11 Sep 2008, 09:17 PM
  5. Suppressing duplicate model numbers in the product list?
    By lismith in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 8 Aug 2007, 04:46 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