Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 show ''product 1 to 10 of 300''
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

riprod
VP-CART New User

USA
85 Posts

Posted - January 07 2009 :  13:29:45  Show Profile  Reply with Quote
For some reason (unknown to me), my customer is insisting that when selecting a category, it displays like this :

page 1 of 20

they want it to say

products 1 to 10 of 327

ideas ?

Steve2507
VP-CART Expert

590 Posts

Posted - January 11 2009 :  15:07:38  Show Profile  Reply with Quote
Why would they waant it in that format?

But anyway they do so let's get on with it.

You would need to add in extra code in the pagebar subs which are referenced from the shopdisplayproducts and are found in the shopdb file.

I would get the number of products in the category calculated and then transfer it to the relevant pagebar sub. This would then give you the basis to work out the number of products shown so far.

Has your customer said you can have 10 products per page as this would make the calculations easier.

Another way of doing it would be to incorporate BYZ116 (from bigyellowzone) as this has much better page handling than is inbuilt in VP. This is the way I would go as I have just incorporated this into all our sites after testing it on our main site.

It gives much more control and I would expect would have the basics of what you need already in there. You would just need to go through the code and find it.

Hope this helps.


Steve
Sex toys from a UK sex shop
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00