osCmax v2.5 User Manual
Results 1 to 5 of 5

coupon vouchers treeview problem

This is a discussion on coupon vouchers treeview problem within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; I've got an issue with the treeview module with the coupon codes. 2 of the stores I manage have extensive ...

      
  1. #1
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default coupon vouchers treeview problem

    I've got an issue with the treeview module with the coupon codes. 2 of the stores I manage have extensive category trees (250 categories in the larger store), 1500 products in one store, over 8000 in the other. When creating or editing a coupon code, viewing the products or categories with the new treeview tool, it takes forever, the slow script popup comes for my store 3 times, for the other one countless times.

    Since the files for the old method of simply viewing a list of the products or categories was still there (validcategories.php & validproducts.php), I made the following changes to not use the javascript tree method, but go back to the old method.

    This worked fine with no apparent repercussions..


    catalog\admin\coupon_admin.php
    FIND (Line 754)
    Code:
            <td align="left"><?php echo tep_draw_input_field('coupon_products', $coupon_products); ?> <input type=button name=open_popup ONCLICK="window.open('treeview.php', 'popuppage', 'scrollbars=yes,resizable=yes,menubar=yes,width=400,height=600'); " value=" View "></td>
    REPLACE WITH
    Code:
            <td align="left"><?php echo tep_draw_input_field('coupon_products', $coupon_products); ?> <A HREF="validproducts.php" TARGET="_blank" ONCLICK="window.open('validproducts.php', 'Valid_Products', 'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600'); return false">View</A></td>
    FIND (line 759)
    Code:
            <td align="left"><?php echo tep_draw_input_field('coupon_categories', $coupon_categories); ?> <input type=button name=open_popup ONCLICK="window.open('treeview.php', 'popuppage', 'scrollbars=yes,resizable=yes,menubar=yes,width=400,height=600'); " value=" View "></td>
    REPLACE WITH:
    Code:
            <td align="left"><?php echo tep_draw_input_field('coupon_categories', $coupon_categories); ?> <A HREF="validcategories.php" TARGET="_blank" ONCLICK="window.open('validcategories.php', 'Valid_Categories', 'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600'); return false">View</A></td>
    Debbie D
    NY & VA

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Post Re: coupon vouchers treeview problem

    Just FYI: treeview has been in the core for some time, just not utilised.
    For people who run larger stores on underpowered shared servers (), it could be useful to have an Admin option, in Configuration, to use the old method.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default Re: coupon vouchers treeview problem

    the server is not shared underpowered maybe - but dedicated If you can find an extra 10 hrs in a day for me I would do something about the underpowered

    Thanks.. I was hoping the change wouldn't make a mess
    Debbie D
    NY & VA

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: coupon vouchers treeview problem

    Add it to the bugTracker as a feature request for v2.6 - that way it will get done ...

    Regards,
    pgmarshall
    _______________________________

  5. #5
    osCMax Testing Team wkdwich's Avatar
    Join Date
    Jul 2007
    Posts
    307
    Rep Power
    11


    Default Re: coupon vouchers treeview problem

    Thanks PG, will do tonight
    Debbie D
    NY & VA

Similar Threads

  1. Coupon Code Sql error Problem
    By MrE03 in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 06-07-2010, 02:39 AM
  2. Replies: 5
    Last Post: 12-10-2009, 01:43 PM
  3. Problem with coupon Module cant remove
    By bkpie in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 11-20-2009, 01:50 PM
  4. Voucher & Coupon Tax Problem
    By peteyg in forum osCMax v1.7 General Mods Discussion
    Replies: 4
    Last Post: 03-05-2005, 12:57 PM
  5. Coupon Percent Problem
    By datacreek in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-16-2003, 08:21 AM

Bookmarks

Posting Permissions

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