Phoca Cart - Item View - Next Previous Buttons

Phoca Cart - complex e-commerce extension
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

Cannot get the next previous buttons to display in PC 3.5

Display Navigation (Item View) is set to Yes
Next/Previous Title - I have tried all 3 combinations with and without title

Any help appreciated
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart - Item View - Next Previous Buttons

Post by Jan »

Hi, which template do you use? Is this some template which overrides Phoca Cart output?

What about cache settings? Do you use some cache settings?

Jan
If you find Phoca extensions useful, please support the project
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

I am using JoomlaBamboo and Joomlart templates.
Will turn on phoca premier and see what results I get.
Thanks
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

http://www.buddgardens.com/2020/index.p ... oduct-view

in the premier templet same result
cannot get the buttons (text or icons) to display

Thanks

PHP Built On Linux vps.webottawa.com 2.6.32-042stab138.1 #1 SMP Wed May 15 09:33:10 MSK 2019 x86_64
Database Type mysql
Database Version 5.5.5-10.1.44-MariaDB
Database Collation utf8_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.2.30
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.9.18 Stable [ Amani ] 21-April-2020 19:30 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart - Item View - Next Previous Buttons

Post by Jan »

Hi, check

if another product where the link should go:

- is published
- user has access to this product
- user group has access to this product
- the product is on stock (if stock checking is enabled)


Jan
If you find Phoca extensions useful, please support the project
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

600 products
all published
access is set to 1 Public for all
no user groups set up
no stock checking in place
seems like it is set up ok, but no prev next buttons or text?
can you point me to a demo with the buttons turned on so I can inspect css and html
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

Hello
I did a little more testing.
installed a new instance of Joomla, Phoca Template Premier and Gantry5
installed Phocart cat and demo data
Turned on Prev Next buttons and they appeared as expected.
Imported my data and the next previous buttons do not display
I think it may be something to do with the categories import

my import imports this text for all items
[{"id":"1:hosta","ordering":"1"}]
[{"id":"1:hosta","ordering":"1"}]
[{"id":"1:hosta","ordering":"1"}]
[{"id":"1:hosta","ordering":"1"}]

in the demo data it is exported as
[{"id":"1:skoda","ordering":"1"}]
[{"id":"1:skoda","ordering":"2"}]
[{"id":"1:skoda","ordering":"3"}]

Does the ordering number have to increment for each item in order for the Next Previous buttons to function?
Thanks for any help you can provide
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart - Item View - Next Previous Buttons

Post by Jan »

Hi, thank you for the info. Because each product can be in different categories, the ordering is not stored in products table but in specific table where the key: category vs. product is stored.

Were your data exported from Phoca Cart? When you import them back, are there still the same categories?

Jan
If you find Phoca extensions useful, please support the project
bizsmith
Phoca Member
Phoca Member
Posts: 30
Joined: 08 Apr 2020, 16:08

Re: Phoca Cart - Item View - Next Previous Buttons

Post by bizsmith »

Thanks Jan
I understand the process, my questions is does the ordering number have to be incremented in order for the Next Previous buttons to be activated?
When we add new products in the admin panel, the buttons do appear for those products.
For the imported products the button does not appear.
Just trying to understand the system requirements for the Next Prev buttons?
Thanks
Greg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Cart - Item View - Next Previous Buttons

Post by Jan »

Hi, yes. When products are stored in administration, ordering for them will be set (ordering in specific category)

Next or previous product is selected the same way like current product (including category or other rules like published, group, access, ...) but with increased/decreased ordering. So if active product has ordering: 5 - previous will be selected with ordering lower than 5 and the same category.

So yes, if the product does not have stored the information abour ordering there is no way how to find it :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply