Recently viewed products

Show Recently Viewed on other pages - Recently viewed products

Show Recently Viewed on other pages

by shopify » Sun Oct 24, 2021 1:14 am

Thanks for this very useful addon. My question is how can I get it to shown on other pages such as my shipping, terms and conditions, contact pages or any other pages I add? This addon displaying recently viewed items is a great way to keep products in customers view and also fill up a lot of white space. Please share how I can do this with a "how to".
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 7:43 am

This is not a recently viewed specific topic. It's more a generic question how to create a new content module group.
You need to duplicate for example the existing recently viewed index content module and place it in a new content group folder for the page(s) you want to show it. Then add the correspondent content module call to the pages template(s).
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 7:52 am

If you do not need separate settings for these pages, an easier way would be just to add the index content module's call to these pages. But then all modules you are showing on index would show also on these pages. Like new products, upcoming products etc.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Show Recently Viewed on other pages

by shopify » Sun Oct 24, 2021 3:54 pm

raiwa wrote:This is not a recently viewed specific topic. It's more a generic question how to create a new content module group.
You need to duplicate for example the existing recently viewed index content module and place it in a new content group folder for the page(s) you want to show it. Then add the correspondent content module call to the pages template(s).
Thanks you!

So I'm following your suggestion and have copied the index and renames it to contact_us. But I need to obviously make a change in the files for contact_us. What do I change the reference for index below to so it uses the contact_us page?

MODULE_CONTENT_INDEX_RECENTLY_VIEWED_
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 3:59 pm

Yes, and the class name to the new file name
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Show Recently Viewed on other pages

by shopify » Sun Oct 24, 2021 4:03 pm

raiwa wrote:Yes, and the class name to the new file name
I get that but what is the class name for the contact_us page? As I've shown in bold earlier, I believe that's what I need to change but can find anything MODULE_CONTENT_?? that's used for the contact page that comes with phoenix.
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 4:08 pm

The new file name of your copy of the featured products module.
If you need further help, please post in the general support forum. It’s not a specific featured products subject. Other users may also benefit and help.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Show Recently Viewed on other pages

by shopify » Sun Oct 24, 2021 4:10 pm

raiwa wrote:The new file name of your copy of the featured products module.
If you need further help, please post in the general support forum. It’s not a specific featured products subject. Other users may also benefit and help.
I'm not trying to use a new file. I want to use the generic phoenix contact page file.
shopify
Posts: 54
Joined: Tue Mar 30, 2021 3:36 pm
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 4:19 pm

Please open a new thread like "Show a content module like Recently Viewed on other pages" in the generic support thread.
Your question is not a recently viewed subject. Your subject is how to add a content module to the contact_us or other info pages. I will not continue to give support for this question here.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Show Recently Viewed on other pages

by raiwa » Sun Oct 24, 2021 5:47 pm

copy content module and show it on the contact us or other pages:
https://phoenixcart.org/forum/viewtopic.php?f=10&t=911
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1212
Joined: Sat Dec 21, 2019 8:08 am
Contact: