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
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) {
...
1 Attachment(s)
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
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
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.
1 Attachment(s)
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
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
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.
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!
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
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.
Re: Seasonal Centerbox [support thread]
Quote:
Originally Posted by
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.