Page 1 of 2
Phoca Cart - Item View - Next Previous Buttons
Posted: 23 Apr 2020, 22:54
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 24 Apr 2020, 14:37
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 24 Apr 2020, 15:53
by bizsmith
I am using JoomlaBamboo and Joomlart templates.
Will turn on phoca premier and see what results I get.
Thanks
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 24 Apr 2020, 16:07
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 25 Apr 2020, 13:15
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 25 Apr 2020, 19:03
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 27 Apr 2020, 05:10
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 30 Apr 2020, 16:01
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 30 Apr 2020, 16:58
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
Re: Phoca Cart - Item View - Next Previous Buttons
Posted: 30 Apr 2020, 17:07
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
Jan