• Resolved Sho-Down

    (@sho-down)


    Is there any way to remove the dashes after each product name, are they supposed to be there? They even show up in the purchase e-mails. Check my screen shots and you’ll see they look out of place: https://snag.gy/6Y1tqb.jpg (the bottom two products were from an older EDD version and there are no dashes) and https://snag.gy/LGd12p.jpg

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sean Davis

    (@sdavis2702)

    Hi @sho-down,

    Would you happen to be using the Downloads As Services EDD extension?

    If not, can you temporarily deactivate all other plugins besides EDD and let me know if you get the same behavior?

    Thread Starter Sho-Down

    (@sho-down)

    Ok, I figured it all out.

    I was using an older shortcode-receipt.php template which had — in it so I deleted that template from my child theme and now there are no dashes on the Receipt page.

    In the history-downloads.php template

    // Retrieve and append the price option name
    if ( is_numeric( $price_id ) ) {
    $name .= ' - ' . edd_get_price_option_name( $download['id'], $price_id, $payment->ID );
    }

    I removed the dash in $name .= ' - ' . and now the dashes after my product titles are gone. What is that dash used for?

    Sean Davis

    (@sdavis2702)

    Hi @sho-down,

    This is definitely a bug. I’ve logged the issue so we can get it fixed for the next point release. Sorry for the inconvenience!

    Thread Starter Sho-Down

    (@sho-down)

    Sounds good, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dashes after my product names’ is closed to new replies.