Carousel Featured Products (carouFresel style) [Support Thread]
This is the official support thread for Carousel Featured Products. Just as the name implies, I duplicated the featured products module and stuck it inside of a jquery carousel (carouFresel to be exact).
This mod has been tested and is working on Zen Cart v1.5 and v1.51. I also have it working in conjunction with Nivo Slider and the CSS/JS loader.
This is my first mod and I'm not a coder so I'll do as much as I can to help with my limited knowledge of jquery and php if you run into issues - just go easy on me please.
Re: Carousel Featured Products
I'll go easy. :)
I don't mean any of the following to sound "heavy", but I'm aware that it might, so I wanted to say that up-front.
It's an interesting concept, but I think it might be necessary to add some clarification for people who look at it to consider using it.
To be clear, this mod completely duplicates the built-in featured-products functionality and sets up two completely different sets of featured products specifically managed by this plugin, thus giving the storeowner three completely separately controlled featured-products systems, right?
And if they uninstall this plugin then they completely lose all the featured-products data that they'd set up in the plugin, and would then need to completely recreate all their featured-products data in the default built-in featured-products pages, right?
And there's no way to make these two new sets of featured products copy anything from their already-set-up featured products, right?
And there's no means provided in this plugin to simply add the carousel display functionality to the existing built-in featured products handler, right?
Are there additional caveats which storeowners should be aware of before using this plugin?
I can see people saying that it looks really complicated because of all the files involved (most of them used just to add the duplication of already-built-in functionality) instead of simply tweaking a single template file so that the output can display as a scrolling carousel.
How would you respond to someone who just wanted to add the carousel to the built-in featured-products data?
Re: Carousel Featured Products
Darn it! You're right - I hadn't considered the fact that if you uninstall the module, the featured products would be gone. Thanks for bringing that up - better now than when someone gets upset because all their hard work goes to pot.
I was trying to make installation as easy as possible with as many features as possible and I think I went a little overboard :blush:; I tend to do that a lot. I'll add the carousel to the current featured products, add a switch to turn it off and on and resubmit the mod.
Thanks for taking the time to look it over, I really appreciate it.
Re: Carousel Featured Products
Okay - the mod has been rearranged and resubmitted.
This mod utilizes the flexibility of carouFredsel with the convenience of the Zen Cart featured products module.
Once installed, you will be able to choose whether to display the featured products on the home page neatly inside a carousel that is controlled by the viewer or the standard Zen Cart display.
PLEASE NOTE: This is a jquery based mod so it may be a bit tricky to install if you are unfamiliar with jquery and you have other mods that use jquery. If you have the CSS/JS Loader installed, you may have to move some javascript around and create an auto loader file for your index page.
Re: Carousel Featured Products
Hello,
This MOD sounds interesting but after installing all files and running the .sql, i do not get any option to setup.
configuration/carousel featured products configuration has no option displayed.
Also when running the .sql patch only 8 items were installed. Anything missing?
Thanks,
Dan
Re: Carousel Featured Products
Make sure the file YOUR_ADMIN > includes > languages > english > extra_definitions > carousel_featured_defines.php exists (YOUR_ADMIN being the name of your store admin folder). The options to configure the carousel and turn it off and on are in configuration > carousel featured products - no install needed within your admin dashboard.
I just installed this mod on both a 1.39h and 1.51 site as is and it worked.
There are only eight options to install so you're okay there.
If it still isn't showing any configuration options, try running the uninstall.sql and re-running the configuration sql.
1 Attachment(s)
Re: Carousel Featured Products
Quote:
Originally Posted by
kamelion0927
Make sure the file YOUR_ADMIN > includes > languages > english > extra_definitions > carousel_featured_defines.php exists (YOUR_ADMIN being the name of your store admin folder). The options to configure the carousel and turn it off and on are in configuration > carousel featured products - no install needed within your admin dashboard.
Yup, did that, the file is indeed in the right place, did uninstalled and reinstalled the .sql but in vain...I get the following:
Attachment 11325
Looks like it's missing some file when uploading the whole thing. I confirm all files are into right place.:unsure:
I just installed this mod on both a 1.39h and 1.51 site as is and it worked.
I use 1.50, would this make any differences?
There are only eight options to install so you're okay there.
Uninstalling the .sql gets me only 5 off!:no:
If it still isn't showing any configuration options, try running the uninstall.sql and re-running the configuration sql.
Thanks for your help
Dan
1 Attachment(s)
Re: Carousel Featured Products
Anyone would know why there is no option as seen below, am I missing something, first time this happened compare to all plugins I have already installed. :(
Attachment 11376
Re: Carousel Featured Products
Quote:
Originally Posted by
dix30simulation
Anyone would know why there is no option as seen below, am I missing something, first time this happened compare to all plugins I have already installed. :(
Attachment 11376
Apparently it's due to an incorrect faq uninstall. According to guru swguy, (see post here), the uninstall file is incorrect.
Try using
PHP Code:
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Carousel Featured Products'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;;
DELETE FROM admin_pages WHERE page_key = 'configCarouselFeatured' LIMIT 1;
to uninstall. Then you can reinstall the sql again if you still want the mod.
1 Attachment(s)
Re: Carousel Featured Products
Quote:
Originally Posted by
kamelion0927
Apparently it's due to an incorrect faq uninstall. According to guru swguy, (see post
here), the uninstall file is incorrect.
Try using
PHP Code:
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Carousel Featured Products'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;;
DELETE FROM admin_pages WHERE page_key = 'configCarouselFeatured' LIMIT 1;
to uninstall. Then you can reinstall the sql again if you still want the mod.
Thank you, uninstalling was successfull although do get the same error while installing any .sql ( up to 4 differents plugins) and do get the same error message. Looks like there is a core file that is been modified since and is needed by any plugin
Attachment 11427
Where can I delete these extra """"?
Re: Carousel Featured Products
hi,
install went fine except for admin doesn't show up any options,
i have checked the 1 admin file uploaded
anything else to check
thanks
Bryan
Re: Carousel Featured Products
working now, nice module
bn
Re: Carousel Featured Products
Hi kamelion0927
Great app and I have got it installed and configured fine. I just have one little question: How can I get the Carousel box to display above the main page content on the home page?
Any help is gratefully received. ;)
Re: Carousel Featured Products
Did you want to move just the featured products or all of them (i.e. new products, specials, etc.)?
Re: Carousel Featured Products
Just the featured products box in the center column. I'm not using the other ones.
I just would like to move it so it displays before the main page content.
I have tried with the code offline, but no go. I have basic PHP skills if that helps, but I can follow patterns (monkey see, monkey do).
Re: Carousel Featured Products
hi,
if i understand you properly go to ( example here www.catchagrip.co.uk )
includes/templates/YOUR TEMPLATE/templates/
edit file tpl_index_default.php
move code below
PHP Code:
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
place it directly above
PHP Code:
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
hope this helps
bn
Re: Carousel Featured Products
Quote:
Originally Posted by
dharrison
Just the featured products box in the center column. I'm not using the other ones.
I just would like to move it so it displays before the main page content.
I have tried with the code offline, but no go. I have basic PHP skills if that helps, but I can follow patterns (monkey see, monkey do).
I've been doing the same thing for years and it's the only way to learn this stuff in my not so expert opinion.
bn - you're almost there. See the line above the call for the featured products?
PHP Code:
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
while (!$show_display_category->EOF) {
?>
That's what tells the template to check if the featured products needs to be shown. If you only move the call for the featured products, the template won't know to check for it and it won't work. In your case Debbie, it would be easiest to just move the whole block of code (as shown below) to the place on the template that you want it.
PHP Code:
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
while (!$show_display_category->EOF) {
?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
<?php
/**
* display the Featured Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
<?php
/**
* display the Special Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
<?php
/**
* display the New Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
<?php
/**
* display the Upcoming Products Center Box
*/
?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>
<?php
$show_display_category->MoveNext();
} // !EOF
?>
I hope that makes sense - I've got a holiday happy kid yapping in my ear nonstop and am finding it difficult to concentrate. :frusty: If it doesn't, please let me know and I'll try to clarify.
Re: Carousel Featured Products
Hi, Just installed
Please note that I had to manually upload the language file from admin, as the folder structure seemed to be incorrect when uploading, but manual upload got it working fine - you may want to fix in future releases.
Zen structure is : admin->includes-->languages-->english-->extra definitiions
Module Structure is admin-->includes-->english-->extra definitions
That might be why some folks are having problems with uploading and seeing the configuation menu in the admin end. :)
Re: Carousel Featured Products
Fantastic way of showing products, however I have an interesting problem. It does not cycle through the products. I have installed this on to two different websites the same way, one works, one does not. I cannot find the differences as to why one works. site of the one that is not working www.edencraftsupplies.co.uk
Re: Carousel Featured Products
I'm also trying to move the featured products as provided by this mod to be above the text content on the home page Really wish there was a way to call it somewhere in between text content on the home page but short of that would like to move it above the text. I've tried both solutions posed here, considering the second solution to probably be more sound. However the first solution breaks the page The second ssolution as I've applied it by putting the code so it is just above: <div id="indexDefaultMainContent"><?php require($define_page); ?></div> then what happens is an endless loop where it is loading dozens and dozens of the featured carousels onto the page.
I'm using zen 1.5.1 and the responsive westminster template which has it built in.
Re: Carousel Featured Products
Hello!
I was wondering if there was a way to apply this to NEW ARRIVALS or SPECIALS as well?
Would you use the same code but change and replace the code with corresponding to new arrivals etc?
Jennifer
Re: Carousel Featured Products
Is it possible to use the classic featured products view for desktop but load this Plugin for mobile only?