DukaPress Version 2.2 is Here!


We’re very pleased to announce the immediate availability of DukaPress 2.2.

New Features:

  1. Added a new widget, the DukaPress Search widget. Now when your customers search for products, the results are displayed in Grid View. Read more about it by clicking here.
  2. It is now possible to include a short product description on the Grid View of products. The products description is optional and only shows when your products’ excerpts are defined. Read more about it by clicking here.
  3. We changed both The Grid View & Products widget order system such that they display products ordered by post date instead of post ID.

Bugs Fixes

  • Fixed a serious security hole whereby individuals could use Firebug or similar tools to change product prices and then check out with those modified prices. This fix is thanks to a gentleman named Chuck.
  • Fixed a bug whereby on some occasions when you try to send payment notification the page went blank.
  • Fixed a bug whereby the totals showed on the AlertPay checkout page were wrong.
  • Fixed a bug whereby the Inquiry Mode did not work when trying to send the inquiry form.
  • Fixed a bug whereby the order log link sent to the shop admin via email was wrong.
  • Fixed a bug whereby selecting Magic Zoom Plus crashed the whole system


42 Responses

  1. Sebastian says:

    Excellent work, congratulations!

    I will try out the descriptions right now.

  2. Julia says:

    The Shipping Flatrate with Limit does not work. Check my project: http://schmuck-werkstatt.ch. The rate is CHF 8.- until CHF 150.- (for free from there). Please advise by sending me an email. Thanks in advance.

  3. Mark Roth says:

    Can DukaPress be configured to add multiple items with a single click?

    (As can be done at http://www.rodstaff.com/school/english.html for instance.)

    I hope so!


    • Kelvin says:

      Unfortunately this cannot be done easily out of the box – you’d need some (major) customization to achieve it. I’m sorry for the inconvenience. πŸ™

      • Mark Roth says:

        Thank you for your answer, Kevin, disappointing though it is. πŸ™‚

        • Donal says:

          The best way to create multiple posts is with a plugin called Duplicate Post which allows you to duplicate a given post. Still time consuming but works a charm. If you need to flick through your products to make minor changes another plugin lets you do this quite easily: Admin Post Navigation.

          One request, can you include the product name in the Order Log page? I need to click into each one individually which is a bit time consuming. Plenty of screen space on the Order Log page.

  4. atom says:

    i want to use DP to sell software licenses. in an attempt to protect my software, i want to have DP create a file on the server after purchase that has the same name as the buyers email and order invoice number (so it is a unique file name). in the program they will be prompted to enter their email and invoice number and then the program will check if a file having the same name exists on the server.

    in order to do this i have to hack DP a little bit, but i know almost nothing about PHP and so i am wondering if anyone can tell me if my example below is correct. i am adding this to “dp-payment.php” right after this line in the “dpsc_paypal_ipn()” function (i am only set up for PayPal):

    if ($payment_status === ‘Processed’ || $payment_status === ‘Completed’) {

    here is what i am adding:


    /* this file should not exist */
    $keyfile = $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-content/software/keyfiles/’ && $payer_email && “_” && $invoice;

    $fh = fopen($keyfile, ‘w’);

    chmod($fh, 644);

    $str = $invoice && ‘\n’ && $tx_id && ‘\n’ && $payer_email && ‘\n’ && $payment_status;

    fwrite($fh, $str);



    the directory /keyfiles will exist, but the file itself will not
    does this look OK?

  5. Dwaynne says:

    Hi, Kelvin –

    Does Dukapress support PayPal Pro?

    also, for the digital downloads, doe sit send the customer a link to the download file?

    How versatile is the location-based shipping feature?

    I have a client that I might need to move to DukaPress. Her site uses locations to define how much shipping to charge. I have only found one WP e-commerce solution that handles it well, but their support isn’t great.

    Let me know soonest.

    • Kelvin says:

      Hi Dwaynne. DukaPress does not support PayPal Pro right now but I believe it is not hard to get it working.

      Yep, the digital downloads are sent via email to the customer.

      Not sure what you mean by versatile, but the location-based shipping is pretty powerful – you can assign different shipping costs to different countries, different custom locations, or even use things such as “overnight shipping”. I think it is very easy to use and extend.

      • Dwaynne says:

        Hi, Kelvi n-

        I upgraded to 2.2 bu I am not seeing any location-based shipping options. Can you indicate where this is?

        Similar for the Digital Downloads.

        For setting up PayPal as a payment option, is the PAyPal ID the vendor’s email address?

          • Dwaynne says:

            Hi, Kelvin –

            I forgot to explain more thoroughly.

            What the client has is tier-based, location-based shipping. So if you order 1 item from Kenya you get price X, but if you order over 5 items you get price Y. Further these prices are different from if you were in the US: the shipping would be higher.

            Is this clear?

            Is this possible with Dukapress?

            • Kelvin says:

              Well, Shipping Pro works a little different: you can set different shipping rates for different weights. So that if you buy 1 Kiolgram you pay X but if you buy over 5 Kilograms you pay Y.

              I guess if you play around with your product weights you can get the same thing.

              Of course these prices will be different for different countries/locations.

        • Kelvin says:

          The digital downloads are created the same way other products are created, only that you add an extra custom field for the location of the digital file. This is explained here: http://dukapress.org/docs/how-to-create-a-new-product/

          Yes, the PayPal ID is the email address that was used to sign up for PayPal. πŸ™‚

  6. Dwaynne says:

    Also, does Dukapress support SKUs? or an item code?

  7. Andy says:

    I’m having trouble getting the digital downloads to work. I’ve tried two different products, clicked “buy now” and went through the Paypal purchase procedures. I received paypal confirmation but never an email link to the digital file. I’ve place the digital files in /public_html/wp-content/uploads/dpsc_download_files with the full and correct file names – case sensitive and including the .pdf. still no download link email. Any ideas? I appreciate the potential of this plugin but can’t go further with it unless I can overcome this issue (probably something I’m (not)doing, but I can’t find any more explanation of what to do with the digital files other than what I’ve done above.

    Thanks in advance for your help

  8. Julia says:

    I’m having some trouble with the images on a Dukapress installation. I tried adding the featured image, but the thumbnails didn’t show up on the grid, nor did the larger image show up on the product page.

    So, because I wanted an image somewhere in the product catalog interface, at some point, I added the image to the actual post. Lo and behold, the thumbnail showed up on the grid, but when you click through to the product page, there were three images, all sort of on top of each other. So I removed the image from the post, and now there are two overlapping images on the product page. You can see it here:


    What am I doing wrong?!


    • Kelvin says:

      Most likely, id your DukaPress settings you’ve put the image sizes to be so big that they overlap. try and reduce the thumbnail size or just play around with the image sizes and see the effects.

  9. LLF says:


    Almost ready to get this store up and leave the best feedback report ever!


    I cannot seem to get dukapress to write the temporary download file to finish a download order. I get all the way through sandbox and to the thank you page, but no link email ever comes to any of the addresses i list. I do get the “reciept of order” but it hangs at pending. I checked the permissions of the temp folder and verified ipn was off. I am using custom permalinks … but don’t think thats the problem.

    Any ideas? much, much, much apreciated. -llf

  10. LLF says:

    Ooops – wouldnt you know… User error. My fault sorry (paypal sandbox wasnt configured right). Now for that positive feedback.,,,,,

  11. Ian D says:

    Hi Kelvin

    I’ve installed DP 2.2 and purchased & installed the Shipping Pro plugin. It’s taken a while but my client’s site is almost ready to launch.

    A couple of queries. I base a lot of client sites on the Thesis platform but I cannot seem to get DP to work with. I have seen others in the blog here mention that the ‘Products’ facility disappears as soon as Thesis is activated. This is a major disappointment. I run my own domains on 1&1 Internet here in the UK but it doesn’t work with other ISPs such as 123-reg.co.uk & Fasthosts.

    Any advice on how to resolve this issue would be great. I feel that Thesis & DP wuld be a great combination.

    Meanwhile I’ve used an Elegant Theme to move the project on (running on 1&1!).

    Lastly, when I did a test pdf invoice output I got a generic ‘bokeh’ image at the top right of the pdf invoice (instead of what I would like, an image of my clients company logo). Can this problem be fixed so that the overall process looks as corporately clothed as possible.

    Many thanks

    Ian D

    • Ian D says:

      I mean top left for the pdf output! Also, The ‘Products’ facility disappears hen Thesis is activated on my combination of ISP/platform, etc.


    • Kelvin says:

      Here are my responses:

      1. We fixed the Thesis issue! πŸ˜€ Please see: http://dukapress.org/?p=788

      2. Inside the DukaPress image folder, there is a file named pdf-logo-1.jpg. What you need to do delete this image and to replace it with the image you want to show on your invoice. it is a good idea to make sure the images are os the same dimensions

      • Ian D says:


        I was delighted to see your reply re: Thesis. However, it doesn’t appear to have worked on my installation(s).

        I believe I have amended the relevant line of code inside dp-products.php (line 666) to read ‘menu_position’ => null, – and uploaded via ftp to the correct folder.

        Do I need to change CHOMD info (currently 644) to something else or some other parameter? Do I need to delete/reinstall DK and/or Thesis?

        Your help appreciated once gain.


        • Ian D says:

          Hi Kelvin

          I’ve since download the ‘development version’. I deleted the standard ver 2.2 and installed the dev ver which appears to still have the DK Products Dashboard facility intact.

          I guess it could be down to my clumsy typing fingers. Whatever, this is a major relief.


          Ian D

  12. Vee says:

    Can I set up Shipping Pro for different zones in the US? For instance, USPostalService might consider the states of Arizona, Texas and New Mexico to be “Zone B” and charge a certain rate, while Florida, Georgia and Alabama are within “Zone A” and it costs less to ship there. Can I then set up different weight classes for each zone? How many weight class rates can I have?

    In the regular cart it doesn’t seem to want to allow me more than three. For instance, 1-142|2#142-1700|10#1700-ul|15. That’s not working for me. You pay the same shipping for 6 oz. and 3 lbs. But if I charge by item you end up paying almost $15 for six 2 oz. bottles, and the same thing for six 12 oz. packets. I need multiple weight class rates. The product can range from 2 oz. to 2 lbs and more.

    • Kelvin says:

      I’m sorry Vee, it is difficult to take care of shipping charges to different states….the problem is how to “tell” the system that a user is from a certain State. If you sue Shipping Pro you may end up with a list of options that is 50 items long! πŸ™

  13. Vee says:

    You said it’s not impossible to set up Paypal PRO.. Would you mind sharing some of the steps? πŸ™‚

    • Kelvin says:

      Yes it is very possible! But you need a developer’s help. Basically, PayPal give detailed instructions on how to integrate their systems and these instructons are what one will use for guidance.

  14. Vee says:

    Thanks for responding. What about the different weight class rates? Is it possible to have more than three rates? And if it is, does that option only apply to Shipping Pro?

    • Kelvin says:

      Sorry for the delayed response. It feels like there is a bug somewhere because my testing gives weird results. Please give us a while to work on this

  15. Your product is great. I sell t shirts, is there a way that when someone clicks “Add to cart” the size option pops up?

  16. Vee says:

    Did you ever find out the bug for why you can’t use more than 3 weight class rates?

  17. Vee says:

    Hi, sorry to keep bugging you but I need to be able to use more than three weight class rates. Is this issue solved yet? Thanks.

  18. Mai says:

    Hi how can I do pagination (page previous-next)

    Many Thanks

Leave a Reply

© 2018 DukaPress. All rights reserved.
Design By Madoido.