kvadre Posted February 15, 2012 Share Posted February 15, 2012 Hi I'm trying to remove the buy button when stock is less then 0. In product_listing_col I have tried changing this code: case 'PRODUCT_LIST_BUY_NOW': // this button will be in a separate table row for better aligning $buy_now_button_array[] = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action','sort','products_id')) . 'action=buy_now&products_id=' . $listing[$x]['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW, 'style="padding-top: 5px;"') . '</a> '; $lc_text = ''; // otherwise the previous $lc_text will be outputted again break; to: case 'PRODUCT_LIST_BUY_NOW': // this button will be in a separate table row for better aligning if ($listing[$x]['products_quantity'] > 0) { $buy_now_button_array[] = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action','sort','products_id')) . 'action=buy_now&products_id=' . $listing[$x]['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW, 'style="padding-top: 5px;"') . '</a> '; $lc_text = ''; // otherwise the previous $lc_text will be outputted again } else { $lc_text = ' ' ; } break; But it is not quit working, any idea to where the problem is? /Jesper Quote Link to comment Share on other sites More sharing options...
bpmartinphotography Posted February 29, 2012 Share Posted February 29, 2012 Hello, I have installed this add-on and have only a few small issues. I am trying to make the product listing background totally transparent but get a white bar in the middle. I also need to make the listings in 5 columns. Thanks for any advice. -Ben Quote Link to comment Share on other sites More sharing options...
abdelatif Posted March 10, 2012 Share Posted March 10, 2012 (edited) How to be with sorting of the products? Sorting according to the Name, Model, the Price etc. was gone Hi have you found some solution on this? I am also searching to sort the way you want to.Or just maybe to sort in price, starting from cheapest. It sorts alphabeticaly now for me sorting in price would be better. Edited March 10, 2012 by abdelatif Quote Link to comment Share on other sites More sharing options...
abdelatif Posted March 12, 2012 Share Posted March 12, 2012 Hi have you found some solution on this? I am also searching to sort the way you want to. Or just maybe to sort in price, starting from cheapest. It sorts alphabeticaly now for me sorting in price would be better. I found one other contribution (on this forum) and it is working together with this contrib.Sort Products By Dropdown I didn't use al the extra's this contrib also includes, like sort on bestsellers, (works with cronjob) so left out most of it. Best thing it sorts the way I want, with a nice dropdown on top of the page. Don't forget to add the "Fix Next Page Problem" from version 1.2 otherwise you lose your sorting on every other page in the categorie. Quote Link to comment Share on other sites More sharing options...
whitewolfspirits Posted March 14, 2012 Share Posted March 14, 2012 Does this work with 2.3? Quote White Wolf Spirits Link to comment Share on other sites More sharing options...
paddyK Posted March 16, 2012 Share Posted March 16, 2012 (edited) Hi is their an addon i can download to change the product content page from 1 colum to 2 colums.so the products show up as 2 products per line. or can i make any changes to the setup to do this. i am using v2.3 paddyk allaaniclothing.com Edited March 16, 2012 by paddyK Quote Link to comment Share on other sites More sharing options...
One Piece Merchandise Posted October 23, 2017 Share Posted October 23, 2017 Well, Listing is the best way to get some productive results. I want my website looks great, rank well and have high traffic... So, what is the easiest way for that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.