Hi,
I need to display featured products or new products on product info page below product information.
Can anyone help me with doing this? Not having any success in moving it.
Thanks.
http://giftseshop.com/
Hi,
I need to display featured products or new products on product info page below product information.
Can anyone help me with doing this? Not having any success in moving it.
Thanks.
http://giftseshop.com/
Please try to answer the question from your other post:
This would really be of help to identify your problem and perhaps see what is happening or not happening ...Go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
<!-- bof: include centerboxes on product_info -->
and select Catalog and click Search ...
What comes up?
Then, do a search on:
what comes up for that?<!--bof also purchased products module-->
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
<!--bof also purchased products module-->
come:
/home/content/58/7996358/html/includes/templates/template_default/templates/tpl_document_general_info_display.php
-----------
<!-- bof: include centerboxes on product_info -->
Error: No matching Configuration Keys were found ...
You are not using the code that I gave you in the previous thread if you found nothing in the Developers Tool Kit by entering into the bottom input box:
then selecting Catalog and clicking search ...
You should have in your templates and overrides file:
/includes/template/your_template_dir/template/tpl_product_info_display.php
the code in RED:
Code:<!--bof also purchased products module--> <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?> <!--eof also purchased products module--> <!-- bof: include centerboxes on product_info --> <div> <?php $new_products_category_id = $cPath; //// bof: categories $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_LISTING_BELOW); if ($error_categories == false and $show_display_category->RecordCount() > 0) { ?> <?php $show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_LISTING_BELOW); while (!$show_display_category->EOF) { ?> <?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_LISTING_BELOW_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_LISTING_BELOW_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_LISTING_BELOW_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_LISTING_BELOW_UPCOMING') { include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); } ?> <?php $show_display_category->MoveNext(); } // !EOF ?> <?php } //// eof: categories ?> </div> <!-- eof: include centerboxes on product_info -->
From what you are telling us, you do not have this code added to your template and override file and upload on to your server ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I did it, but not work, no change nothing.
If I write the phrase in that place, then it is reflected correctly. But the code doesn’t work.
I don’t know what happened.
Should I install a zencart 5?
Now let's check the settings on the display to see if we need to alter the code a little ...
What settings do you have in the Configuration ... Index Listing ... for the following:
Show New Products - below Product Listing
Show New Products below Product ListingShow Featured Products - below Product Listing
Show Featured Products below Product ListingShow Special Products - below Product Listing
Show Special Products below Product ListingShow Upcoming Products - below Product Listing
Show Upcoming Products below Product Listing
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Yes, these settings work on the product listing. I turn them off them.
These settings are not displayed on the info page.
Okay now we need to customize the new code a little bit as those settings being OFF are why these do not show on your Product _info page ...
If you want Featured Products to show, edit the code and add the additional code in RED:
If you want Specials to show, edit the code and add the additional code in RED:Code:if (true || $show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_LISTING_BELOW_FEATURED_PRODUCTS') { ?>
If you want New Products to show, edit the code and add the additional code in RED:Code:if (true || $show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_LISTING_BELOW_SPECIALS_PRODUCTS') { ?>
If you want Upcoming Products to show, edit the code and add the additional code in RED:Code:if (true || $show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_LISTING_BELOW_NEW_PRODUCTS') { ?>
Code:if (true || $show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_LISTING_BELOW_UPCOMING') {
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
End of the story!:))) They appeared on the info page, when I turned on.
Now I just want to move them of product listing.
I think; I'll just wipe of the code on product listing?
No, I would not do that ...
I would customize the code as I just posted and it will work on the product _info when these settings are turned OFF for the Product Listing ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!