You can set a variable to the amount of a certain item you have in your inventory. Do this for the crops (game data > item in inventory), then remove the items using this variable. Use the same variable again and multiply it by 5 (for the gold), then simply use the 'change gold' command and use the variable this time for adding the correct amount of gold.
It should look something like this (I also added a conditional branch that checks if the player even has the crops in their inventory):
[IMG]http://i1068.photobucket.com/albums/u453/celiannauploads/event_crops_zpslglysdqx.png[/IMG]
This only works for one certain crop though, if you have multiple (like potatoes and corn and whatnot), then it's best to simply have the shop command, so that the player can sell their crops there. Of course you can also go another route, and simply have a variable tracking how many crops the player has harvested (for all crops). I suggest you play the
Variables Guide and get more acquainted with them.