Support » Plugin: Easy Digital Downloads » Dashes after my product names

  • 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)
  • Plugin Contributor sdavis2702

    (@sdavis2702)

    Member

    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?

    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?

    Plugin Contributor sdavis2702

    (@sdavis2702)

    Member

    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!

    Sho-Down

    (@sho-down)

    Sounds good, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.