VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 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  

VP-ASP New User

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 ?

VP-ASP 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.

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