Page 66 of 87 FirstFirst ... 1656646566676876 ... LastLast
Results 651 to 660 of 869
  1. #651
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Sales report 2.0

    Quote Originally Posted by DivaVocals View Post
    I found this code in line 457 not 532.. Made the change and it made no difference..


    Code:
                  <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date("Y", mktime(0,0,0,1,1,date("y")-1))); ?></td>
    Try changing that line to read
    Code:
                  <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date('Y', strtotime('-1 year'))); ?></td>

  2. #652
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sales report 2.0

    Quote Originally Posted by lat9 View Post
    Try changing that line to read
    Code:
                  <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date('Y', strtotime('-1 year'))); ?></td>
    Still no dice and this is a variation of the code I eluded to in my earlier post that I tried and failed..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #653
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Sales report 2.0

    Here's what worked for me:
    Code:
    <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date("Y") - 1 ); ?></td>

  4. #654
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sales report 2.0

    Quote Originally Posted by lat9 View Post
    Here's what worked for me:
    Code:
    <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date("Y") - 1 ); ?></td>
    Yahtzee!! This did the trick!! You are the best!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #655
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Sales report 2.0

    Thanks, Diva. Sometimes the simplest solutions are the best!

  6. #656
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Sales report 2.0

    Quote Originally Posted by lat9 View Post
    Thanks, Diva. Sometimes the simplest solutions are the best!
    Yep!! I agree!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #657
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: Sales report 2.0

    RE: Last year (2014)

    Worked! Thank you so much!

    Quote Originally Posted by lat9 View Post
    Here's what worked for me:
    Code:
    <td class="smallText" id="td_last_year"><?php echo zen_draw_radio_field('date_preset', 'last_year', false) . sprintf(SEARCH_DATE_LAST_YEAR, date("Y") - 1 ); ?></td>

  8. #658
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,363
    Plugin Contributions
    94

    Default Re: Sales report 2.0

    My pleasure ...

  9. #659
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Sales report 2.0

    I have a feature request for the next iteration of this great module. If there could be a function to select attributes it would make this sooooo much better. Perhaps an option to show all attribute variations and sales and an ability to select a certain product to see it's attribute sales. I think a lot of people could use and really benefit from this. If it would take a contribution for the amount of time and effort involved please PM me to discuss, I am more than happy to do this.

    Zen Cart and it's community are the best!!

  10. #660
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Sales report 2.0

    I'm using 1.3.9f and I'd like to add a total cost column to this report and also a profit column, but I can't figure out where to edit the php... I already added a product cost field to my products, so I have that data. Any guidance would be appreciated. Thanks!

 

 
Page 66 of 87 FirstFirst ... 1656646566676876 ... LastLast

Similar Threads

  1. v139b Sales Report
    By irishshopper in forum General Questions
    Replies: 1
    Last Post: 26 Jan 2014, 01:00 AM
  2. Sales Report
    By jgold723 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Nov 2011, 05:58 PM
  3. Sales report
    By tlahtine in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 27 Dec 2010, 10:01 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR