Price List Showing Hidden And Disabled Products

Hi,

Is it possible to hide the hidden and disabled products from the Price List addon?

Thanks!

app/addons/price_list/Tygh/PriceList/AGenerator.php

find the render function and add

$params[‘status’] = array(‘A’);
after the following lines (2 places)

$params[‘skip_view’] = ‘Y’;

It worked, thank you very much!!!

Can I ask if it's possible to have the price list show the products in alphabetical order instead of gouped by categorie?

Thank you!

Just disable the Group by category add-on setting and set Sort by to Product name

http://prntscr.com/cva5en

Forgot to mention that (with your help) I changed the addon to show the short description and if I don't group it by categories it doesn't show the short description. the thread: http://forum.cs-cart.com/topic/45502-price-list-addon-add-short-description/?fromsearch=1

So, is it possible to have the short description withour grouping it by categorie?

Thanks!

Forgot to mention that (with your help) I changed the addon to show the short description and if I don't group it by categories it doesn't show the short description. the thread: http://forum.cs-cart.com/topic/45502-price-list-addon-add-short-description/?fromsearch=1

So, is it possible to have the short description withour grouping it by categorie?

Thanks!


Did you apply all code changes from that thread? If it still does not work, PM me temporary FTP access, we will check it

I've applied all the changes, but when not grouped by categories the short description tittle is there but not the short description itself, please take a look: http://prntscr.com/cvaj0c

Note that there are two lines of the following code in the AGenerator.php file:

$this->processProducts($params);

So you should add this line two times (before the lines above):

$params['extend'] = array('description');

:oops: That was it, I had it only on one of the lines...

Thank you so very much :grin:

You are welcome!