• tankard

    (@tankard)


    Hi,

    Great plugin! However, I want to make a couple of small changes to the script.

    I want to allow different people to add products without a permission to edit other peoples’ products. “Authors” seemed to be a good choice, however, eShop options are displayed only to admins. Can you please tell me which file to edit to allow Authors too?

    Then another thing. I need to generate a random string (unique code) after the payment has been made. This string should also go to my and customer’s emails. I’ve already coded the randomizer thing. Could you suggest where’s the best place to execute the randomizer?

    Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • elfin

    (@elfin)

    Install WP Role Manger, and use that to add roles and capabilities to users, or groups.

    What does this random string do? does it need storing in the db? and does it need to be accessible in some way?

    That was exactly what I was looking for! Great! Multicart can now go to rest 😀

    Thread Starter tankard

    (@tankard)

    elfin, thank you very much for your reply! Role Manager does the trick but only partially. Is there a way to block “Authors” from accessing eShop settings? I probably need to edit the Role Manager.

    This random thing: I think I don’t need the db. The string just has to go to two different e-mail addresses and have a variable output (for example, $mystring) so that I can work with the string further via $_GET. The short story is that after the payment has been confirmed, this $mystring triggers another script to work. I don’t mind telling you everything about it, it’s just that this is a fresh idea and I don’t feel comfortable about everyone out there doing the same thing right now.

    However, I don’t mind if you use this concept for your version 4. Maybe we can chat somewhere in private? May I contact you through your website? There was another interesting thing I wanted to share with you.

    Sorry guys, it’s too spam-prone to make it public without prior consideration!

    tankard – feel free to email me : elfin@elfden.co.uk

    You’re right about the settings page – I’ll add make some changes in a future release to address that issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: eShop] How do I allow “Authors” to add products?’ is closed to new replies.