Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2008
    Posts
    65
    Plugin Contributions
    0

    help question Deleting old coupon codes

    Hello,
    I wish to delete old coupon codes, and I am not able to do it. I believe that I am doing something wrong, and asking for assistance.
    After logging in as admin, I create a new code for one product. I save it as active.
    I am logging off, and logging on again as a "customer".
    If I am clicking on "discount coupons", all the old coupons appear, but not the new one!
    I am trying to delete the old coupons, but they do not show anywhere, not in "active, inactive or all" option.
    Is there any way to delete the old ones?
    How can I tell my customers about the new coupon?
    Thanks in advance for assistance!
    You'll never know how much you don't know...

  2. #2
    Join Date
    Jan 2004
    Posts
    64,746
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Deleting old coupon codes

    Are they "not showing" because they're "on the next page"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Deleting old coupon codes

    Thank you for replying DrByte,
    I am attaching 3 screenshots. The Active, Inactive and All Coupons. As soon as I click on All Coupons, I am receiving zero, and the window becomes "Active" as it can be seen.
    Click image for larger version. 

Name:	Active Coupons.jpg 
Views:	11 
Size:	14.6 KB 
ID:	17469
    Click image for larger version. 

Name:	Inactive Coupons.jpg 
Views:	8 
Size:	12.8 KB 
ID:	17470
    Click image for larger version. 

Name:	All Coupons.jpg 
Views:	7 
Size:	13.7 KB 
ID:	17471

    Connecting as a customer, at checkout I receive the following options:
    Click image for larger version. 

Name:	Customer.jpg 
Views:	15 
Size:	24.5 KB 
ID:	17472

    Of course, just one of them works, and I wish to delete the others, but I cannot find the way to do it.
    I hope that now it is clearer.
    You'll never know how much you don't know...

  4. #4
    Join Date
    Jan 2004
    Posts
    64,746
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Deleting old coupon codes

    Your "options" as a customer are "previously-remembered" data that you had typed into that field ... remembered by your browser. Those options are NOT coming from Zen Cart.

    If you visit the same page on another browser you will not find those codes listed there.
    To remove them from your browser's history, go to your browser's auto-fill settings and remove them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Deleting old coupon codes

    Thank you for replying DrByte,
    You are perfectly right!!! Usually, I use Firefox, and tried it a moment ago from Chrome. Indeed, nothing appeared!!! It works perfectly! :)
    It shows you my ignorance...
    So, now I have the initial problem:
    My idea was: I wish to give a discount for one product, for a predetermined time. Changing the product and code every month or week. The idea was that only the logged in customers will be able to see which product has a discount this week.
    The guy who has installed the ZC made it almost perfect: There is a picture on the main page, and only if you click on it, you are be able to see the discounts. This way, the curious customer clicks on this button / picture, and he is being asked to log in. Up to here, it works perfect.
    However, is there any way to show him which product has a coupon code this week, and what it is the code?
    As far as I could understand, I have to email him the code.
    What I need is a "call to action", as up to emailing him, he can give up, not even talking about the issue that he doesn't see which product is the one I promote.
    Do you have any idea or suggestion? Is it again my ignorance???

    Many thanks again!!!
    You'll never know how much you don't know...

  6. #6
    Join Date
    Jan 2004
    Posts
    64,746
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: Deleting old coupon codes

    There's not currently any built-in way to automatically display all your coupon codes to your shoppers, whether logged in or not.

    You could write custom code to query the coupons and coupon-restrictions data to identify which product/s are eligible for the currently active coupons.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Feb 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Deleting old coupon codes

    I think that I've succeeded to do it, even that it is a primitive way to do it.
    Firstly, I've used the usual way for setting up a discount coupon, and I've copied the code. I made a txt file with the code embedded.
    Secondly, I made changes in coupon's PHP.
    Now, when I click on "coupons button", I get the code.
    It works perfect!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	1.jpg 
Views:	10 
Size:	57.4 KB 
ID:	17476   Click image for larger version. 

Name:	2.jpg 
Views:	8 
Size:	41.0 KB 
ID:	17477   Click image for larger version. 

Name:	3.jpg 
Views:	8 
Size:	61.5 KB 
ID:	17478  

    Click image for larger version. 

Name:	4.JPG 
Views:	7 
Size:	34.3 KB 
ID:	17479  
    You'll never know how much you don't know...

  8. #8
    Join Date
    Feb 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Deleting old coupon codes

    Here is how it looks:
    Click image for larger version. 

Name:	6.jpg 
Views:	7 
Size:	32.8 KB 
ID:	17480
    And at checkout:
    Click image for larger version. 

Name:	9.jpg 
Views:	9 
Size:	18.3 KB 
ID:	17481
    You'll never know how much you don't know...

 

 

Similar Threads

  1. v139h Deleting old order records and customers
    By devus in forum General Questions
    Replies: 4
    Last Post: 21 Dec 2012, 09:50 AM
  2. Deleting Really Old Customers, Orders, etc
    By Doodlebuckets in forum Managing Customers and Orders
    Replies: 7
    Last Post: 21 May 2010, 04:03 PM
  3. Old Coupon Codes Issue/Bug?
    By marcopolo in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 27 Nov 2009, 02:45 AM
  4. Deleting an old version of a contribution
    By gob33 in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 30 Mar 2009, 10:16 AM
  5. error when deleting old customers
    By godin5150 in forum General Questions
    Replies: 1
    Last Post: 30 Sep 2007, 03:05 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