Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    44
    Plugin Contributions
    0

    Default Switch order of Specials and Featured on Main Page (Issue)

    I would like to switch the center box order of Featured and Specials on my main page: http://deadseamarket.com but I seem to be having issues.

    I tried resorting under Admin->Configuration_>Index Listing but it seems to have no effect.

    I edited tpl_index_default.php by moving

    Code:
    <?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 } ?>
    above
    Code:
    <?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 } ?>
    That didn't do the trick either. Any suggestions on how I might do this? Seems like it should be simple but it is alluding me.

    thanks!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Switch order of Specials and Featured on Main Page (Issue)

    If you switch to the classic template, can you swap the order from the Admin?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Sep 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: Switch order of Specials and Featured on Main Page (Issue)

    Yes, it is working properly in the classic template. Any idea as to where I can find the proper code to copy into my template?

  4. #4
    Join Date
    Sep 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: Switch order of Specials and Featured on Main Page (Issue)

    Wait... strangely, after making it work on the classic template...it now works in my template. I don't understand why but I am happy it does!

    Thanks for the suggestion Kim!

 

 

Similar Threads

  1. v151 Arrangement of Featured Products, Monthly Specials, and New Products on Main Page
    By kelly60 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Nov 2014, 10:27 PM
  2. New/Featured/Specials Products in Main Page Table
    By mipavluk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Jan 2010, 11:13 PM
  3. Replies: 1
    Last Post: 27 Nov 2008, 12:05 AM
  4. Switch the order of defines_main_page and Featured Products... (How?)
    By flipjargendy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Aug 2007, 07:23 PM
  5. Problem with Specials and Featured products on main page
    By sukhada in forum General Questions
    Replies: 2
    Last Post: 2 Mar 2007, 07:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg