| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#51
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi,
in next_prev.tpl you made corrected changes: Code:
in product.php it must be: Code:
Alex |
|||||||
|
#52
|
|||||||||
|
|||||||||
Re: free <PREV | NEXT> mod help
Thanks Alex!
It works like magic The code looks like this right now (there is no membership): Code:
Thanks!
__________________
__________________ XC5: 5.3.4.4 PHP: 7.0.26 MySQL server: 5.5.56-MariaDB |
|||||||||
#53
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Yes...for membership code must be:
Code:
Alex |
|||||||
#54
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
I am lost, can someone please tell me the location of the files need to be change.
Ex. Customer>xxx.html And is that possilble to add "view all" too? Thanks! X-Cart version 4.1.11
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#55
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
I guess No one know the view all option.
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#56
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi
Great mod, Can this be done so that instead of going to the next product (alphabetically) as the code does at the moment then it goes through to the next product by the number they are listed in the category position order? e.g. I have 3 products Football Tennis Racket Golf Club They are set to be listed in this order: Football 1 (product number 20) Tennis Racket 2 (product number 3) Golf Club 3 (product number 9) So I need to go throguh from football, tennis racket, golf club. Thanks in advance Dan
__________________
X Cart Version 4.2 |
|||||||
#57
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi Dan,
You can change it easy: in product.php add "cat.orderby," in this query: Code:
Alex |
|||||||
#58
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi Alex,
Thank you very much for the reply but when I put that code in my product.php I get the error. INVALID SQL: 1054 : Unknown column 'pr.orderby' in 'order clause' SQL QUERY FAILURE:SELECT pr.productid, pr.product, mem.membershipid FROM xcart_products_categories AS cat, xcart_products AS pr LEFT JOIN xcart_product_memberships AS mem ON mem.productid = pr.productid WHERE cat.categoryid = '71' AND pr.productid = cat.productid AND pr.forsale='Y' ORDER BY pr.orderby, pr.product Any ideas what's wrong? Thanks again for your help. Regards Dan
__________________
X Cart Version 4.2 |
|||||||
#59
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi Dan,
Sorry, I slipped. Need to add "cat.orderby,". Alex Quote:
|
|||||||
#60
|
|||||||
|
|||||||
Re: free <PREV | NEXT> mod help
Hi Alex,
Thank you very much, it worked perfectly I really appreciate your help. Thank you again. Regards Dan
__________________
X Cart Version 4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|