Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Products Unpublished

  1. #1
    rcvjmv is offline Junior Member
    Join Date
    Nov 2008
    Posts
    26

    Angry Products Unpublished

    I had to mark several products and catagories as "Unpublished" due to some manufacture concerns. I now need to republish them but they do not show up in the Manage Products area, so I cannot find them. I could republish them all if there is a script to run against the database. Any help would be appreciated.

  2. #2
    Orangey is offline Junior Member
    Join Date
    Aug 2010
    Location
    UK
    Posts
    23

    Default

    I've run into this before and managed to get the Unpublished products to reappear in the list by going into any other product that is showing and pressing the "Update" button. This seems to refresh the list of products shown in the admin area and should hopefully now show your missing products.

    Not sure why its like this.. hope this helps, seems to work for me

  3. #3
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    update product
    set published=1
    where productid=x

    replace x with your product number

    or to turn them all back on in one go

    update product
    set published=1

    And, of course,

    update category
    set published=1
    where categoryid=y

    replace y with your category number

    or to turn them all back on in one go

    update category
    set published=1
    Last edited by esedirect; 09-14-2010 at 06:01 AM.
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!

  4. #4
    rcvjmv is offline Junior Member
    Join Date
    Nov 2008
    Posts
    26

    Default We are now published

    Thanks for the SQL commands, they worked like a champ. I could not see in the admin section until ran them. I had actually unpublished some Departments (Sections) so I was able to get them back. Thanks for the help.