Forums / All Other Contributions/Addons / Seasonal Centerbox [support thread]

Seasonal Centerbox [support thread]

Views: 8,897

Results 1 to 20 of 37
24 Nov 2020, 2:39 PM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Seasonal Centerbox [support thread]

The Seasonal Centerbox is acenterbox - just like the New Products, Featured Products and Monthly Specials Centerboxes - which allows you to show off randomly selected items from a specific category.

https://www.zen-cart.com/downloads.php?do=file&id=2295

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

30 Nov 2020, 8:12 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,883
Plugin Contributions:
20

Re: Seasonal Centerbox [support thread]

The includes/templates/custom/templates/tpl_modules_seasonal.php goes in includes/templates/YOURTEMPLATE/templates/tpl_modules_seasonal.php.

Apparently, the plugin moderator missed the standardization at https://docs.zen-cart.com/user/first_steps/basic_terms/#yourtemplate.

:rotflmao:

Seriously, keep up the great work.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

11 Dec 2020, 3:38 AM
#3
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

I have installed and made modifications per the readme file. Should this display in admin/configuration/index listing ?
I cannot locate where to utilize this like I would the featured products.

zc 1.5.7.b

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

11 Dec 2020, 11:51 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

It's not yet admin-controllable (will be in the next release). Right now, see step 6 in the README.txt for customization instructions.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

11 Dec 2020, 1:59 PM
#5
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

Thank You!

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

1 Feb 2021, 5:38 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

Seasonal Centerbox has been updated to provide built-in admin controls so file edits are no longer required.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

13 Feb 2021, 10:52 PM
#7
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

Great! Just wonder if it is random order? Products in the featured Products are random order. If this plugin allows me to give the products some sort order, I can use it to replace featured products :smile:

13 Feb 2021, 11:03 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

Yes, it is in random order.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

13 Feb 2021, 11:53 PM
#9
markau avatar

markau

New Zenner

Join Date:
Oct 2020
Location:
australia
Posts:
31
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

swguy:

Yes, it is in random order.

Many thanks for your reply. Is it possible to assign a sort order to the products?

14 Feb 2021, 11:55 AM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

You'd have to change the code - nothing is built in to do this. They're in random order now.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Mar 2021, 8:00 PM
#11
tedjmaines avatar

tedjmaines

New Zenner

Join Date:
Mar 2021
Location:
Campbell, Texas USA
Posts:
13
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

I installed your latest version on 1.5.7c. I followed instructions that says :
Right above
while (!$show_display_category->EOF) {

add this block of code:

<?php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>

Here is my file:
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);

<?php require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php'); ?>

while (!$show_display_category->EOF) {

causes my Main page center to be empty. No Main page or features nor specials... Just blank.

Did I miss something????? Thanks

7 Mar 2021, 10:48 PM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

You are already in PHP in the block where you pasted it. So no need for the start and end php - instead use

$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
require($template->get_template_dir('tpl_modules_seasonal.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_seasonal.php');
while (!$show_display_category->EOF) {
...

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Mar 2021, 11:34 PM
#13
tedjmaines avatar

tedjmaines

New Zenner

Join Date:
Mar 2021
Location:
Campbell, Texas USA
Posts:
13
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

Silly Me..... so much for programming late at night.........

That helped but now Featured Products tab does not work correctly.

Attachment 19458

5 Apr 2021, 11:14 PM
#14
tedjmaines avatar

tedjmaines

New Zenner

Join Date:
Mar 2021
Location:
Campbell, Texas USA
Posts:
13
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

tedjmaines:

Silly Me..... so much for programming late at night.........

That helped but now Featured Products tab does not work correctly.

Attachment 19458

Still having issues with Seasonal Centerbox stopping Feature from displaying. See previous post.

31 Dec 2021, 11:49 PM
#15
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Seasonal Centerbox [support thread]

swguy:

Seasonal Centerbox has been updated to provide built-in admin controls so file edits are no longer required.

It seems I can't see any details in Admin.

Attachment 19871

1 Jan 2022, 12:45 AM
#16
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

You will need to work with a developer to fix this. The entries in the configuration table need to have the same group id as the configuration_group table entry.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

2 Jan 2022, 2:46 AM
#17
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: Seasonal Centerbox [support thread]

The sql did add to admin_pages and configuration_group but not to configuration table, so I did it thru phpMyAdmin. I had been looking into the php's but not the DB. Thank for pointing me in the right way.

Works fine now. :clap: Nice plugin!

31 Jan 2022, 6:47 AM
#18
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

I installed your mod and it works great. Easy installation and setup via admin.

I just have one question:

Is it possible to add a "buy now " or "more info" button below each product?

site is atwww.royal-fleur.com for reference.

Thank you for your time

31 Jan 2022, 10:30 AM
#19
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,732
Plugin Contributions:
56

Re: Seasonal Centerbox [support thread]

The centerboxes don't normally have buy buttons on them but certainly you could add the code to do that for items without attributes. But there's nothing built in - you'd have to write the logic yourself.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

1 Feb 2022, 3:21 AM
#20
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Seasonal Centerbox [support thread]

swguy:

The centerboxes don't normally have buy buttons on them but certainly you could add the code to do that for items without attributes. But there's nothing built in - you'd have to write the logic yourself.

Thank you for the prompt reply. Unfortunately, I am not coder so that s a bit out of my reach.

What i did for the other boxes is to replace the "more info" by a "buy now" button and i don't know how replicate this to your seasonal centerbox.

I came across this plug in at https://www.zen-cart.com/downloads.php?do=file&id=998 but it has not been updated for awhile. I will just keep digging around to seeif someone did the modifications.

Thanks again for your time.