| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Let Customer choose number of products displayed on page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
![]() I got it. it's simple!
Just use <form method="POST" action="/store/change_ppp.php" id="pppForm"> Show products per page <select name="ppp" onchange="this.form.submit()"> <option value="9" {if $products_per_page eq 9}selected{/if}>9</option> <option value="12" {if $products_per_page eq 12}selected{/if}>12</option> <option value="15" {if $products_per_page eq 15}selected{/if}>15</option> <option value="18" {if $products_per_page eq 18}selected{/if}>18</option> <option value="21" {if $products_per_page eq 21}selected{/if}>21</option> <option value="24" {if $products_per_page eq 24}selected{/if}>24</option> <option value="99" {if $products_per_page eq 99}selected{/if}>all</option> </select> </form> in products.tpl
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#32
|
|||||||
|
|||||||
![]() Hi All,
This is a great mod and came in super handy. I modified it slightly to have a "view all" button outside of the drop-down menu. When you click it it will show the "all" option in the drop-down (for clarity's sake), otherwise it's not there. Here's the code and thanks Holub! HTML Code:
__________________
v 4.1.11, v 4.2 |
|||||||
#33
|
|||||||
|
|||||||
![]() I have this search sort by feature on my site. However, the options to sort by are Product, Price or Default. This is fine but I want to change the word product to movies even though I want it to sort by the product still. The only thing I want to change is the label, not the function. Anyone know how?
__________________
Lance X-Cart Gold Version 4.6.1 |
|||||||
#34
|
|||||||
|
|||||||
![]() Has any one tried this on 4.3.x?
__________________
Best Wishes, James 4.5.2 Gold (work in progress) |
|||||||
#35
|
|||||||
|
|||||||
![]() How can I get this to work in the manufacturers area as well?
__________________
x-cart 4.2.3 AlteredCart Smart Search Auto Featured Products Mod (Personal Mod) BCSE Product Importer Pro & Drop Shipper Pro CDSEO Pro CMS EZRecommends EE slider login (Personal Mod) Next Prev Link Mod (Customized) ShadowBox Detailed Images (Personal Mod) Shop By Price (Customized) Social Media (Personal Mod) Switch Layout View (Personal Mod) Special Offers Testimonials (Personal Mod) Whats New (Customized) |
|||||||
#36
|
|||||||||
|
|||||||||
![]() Hello Sir,
Looking through the X-cart forum I came across this topic. I need the same thing but for manufacturers. I need a drop down menu with the manufacturers, that stands next to the search box on my website. So when the user chooses to search "mascara" for example, he can search only for mascara, maunfactured by Lancome. I badly need some help, and I will appreciate it. Thanks in advance.
__________________
Version 4.2.3 X-Cart Gold Version 4.3.1 X-Cart Gold |
|||||||||
#37
|
|||||||
|
|||||||
![]() works for 4.2.1? thank you
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql) Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server Modules : X-Offer & X-Aom & One page checkout Product tabs & Product downloads & many more |
|||||||
#38
|
|||||||
|
|||||||
![]() I have something similar but not in dropdown format over here:
http://forum.x-cart.com/showthread.php?t=23796&page=6 It's working on 4.3.2.
__________________
X-Cart v4.3.1 |
|||||||
#39
|
|||||||
|
|||||||
![]() I would love this option in 4.3.x
I did see the thread you posted above and Show All won't really work for my customer.
__________________
X-Cart 4.3 Joomla Among other things ![]() |
|||||||
#40
|
|||||||||
|
|||||||||
![]() I've completed this for 4.3. I couldn't find this mentioned elsewhere so hopefully this isn't redundant.
New file change_ppp.php: PHP Code:
New file skin1/customer/change_ppp.tpl: PHP Code:
Add the following to home.php just below the auth.php line: PHP Code:
Add the following to the very end of skin1/customer/main/navigation.tpl: PHP Code:
Add the following to .nav-pages in skin1/main.css: Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|