Plugin Author
elfin
(@elfin)
Don’t edit the plugin, it shouldn’t be needed – and if you ever find something you can’t do – contact me and I’ll add in a filter/action.
1 – http://quirm.net/wiki/eshop/changing-displayed-text/
and a quick example for changing the required fields:
function extras_required($values){
//amends required fields
$values=array('shipping','first_name','last_name','email','phone','address','city','zip');
return $values;
}
add_filter('eshopCheckoutReqd','extras_required');
2. can be hidden via CSS, and if it isn’t in your version, it definitely is in the next one.
Thread Starter
ezark
(@ezark)
Thanks for the quick response! Can you please tell me the location and names of the file(s)?
Plugin Author
elfin
(@elfin)
for what? checkout is all in checkout.php
Rich,
I am new to eshop, but I am using it in a novel way. For my event oriented business. Is there a way to change the name of the fields on the checkout page? I am going to go look at the checkout.php but any other info would be great.
Also wondering if there is a way for the site/order admin to be notified via email of a new order? I have looked though and do not see a way.
Thanks.
Plugin Author
elfin
(@elfin)
http://quirm.net/wiki/eshop/changing-displayed-text/
might help.
admins automatically get emails for each transaction plus, if configured, you can have a daily reminder sent out for outstanding orders as well.
This is great except where do I add this code?
function extras_required($values){
//amends required fields
$values=array(‘shipping’,’first_name’,’last_name’,’email’,’phone’,’address’,’city’,’zip’);
return $values;
}
add_filter(‘eshopCheckoutReqd’,’extras_required’);
Plugin Author
elfin
(@elfin)
can be added as a small plugin, or to your themes function.php
Added it to my functions.php and got this:
function extras_required($values){ //amends required fields $values=array(‘shipping’,’first_name’,’last_name’,’email’,’phone’,’address’,’city’,’zip’); return $values; } add_filter(‘eshopCheckoutReqd’,’extras_required’);
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/content/s/i/e/sierra109/html/rol/wp-content/themes/eStore2.0/functions.php:36) in /home/content/s/i/e/sierra109/html/rol/wp-content/plugins/eshop/eshop.php on line 48
Plugin Author
elfin
(@elfin)
ensure you have no spaces after the closing ?> or before the opening <?php