I have some courses set up on my site which require payment on enrollment.
All of the courses are digital so it seems strange to ask users for their 'Shipping Address' (or have any reference to shipping at all).
I have Marketpress setup to offer 'no shipping' on the settings, but that has no impact.
How do I tell Coursepress/Marketpress that these are only (and will only ever be) digital products/courses?

  • Nithin

    Hi lowercase,

    Hope you are doing good today. :slight_smile:

    Once your paid course products gets created, you'll have to edit the course product under Store > Products, and change the product type from Physical/Tangible product to Digital Download in order to exclude the shipping details.

    I hope this helps. Please let us know if you still need any further assistance. Have a nice day. :slight_smile:

    Kind Regards,

  • lowercase

    Hi there Denitsa

    I am aware we can edit the text via the store notification settings. But the issue is people are being emailed after an order with a link to 'DOWNLOAD' their purchase.

    This is not something we can edit. It is produced by the shortcode ...

    We need to keep the output ORDERINFO presents (obviously - it is an order confirmation email), but need to remove any reference to downloading files that don't exist.

    How do we do that?

  • Denitsa

    Hello lowercase,
    I apologise for the misunderstanding here!

    Doing that would require modification of the existing plugin code.
    In the file /wp-content/plugins/marketpress/includes/common/helpers.php there is a function mp_filter_email() on line 77. This one handles the output in notification mails.

    This could be done by replacing the following code after the //Order info line:

    // Order info
    		if ( count( $items ) > 0 ) {
    			$order_info = '<table width="100%">
    <th align="left">' . __( 'Item', 'mp' ) . '</th>
    <th align="left">' . __( 'Sku', 'mp' ) . '</th>
    <th align="right">' . __( 'Qty', 'mp' ) . '</th>
    <th align="right">' . __( 'Price', 'mp' ) . '</th>
    <th align="right">' . __( 'Total', 'mp' ) . '</th>
    			foreach ( $items as $item ) {
    				$price = ( $item->get_price( 'lowest' ) * $item->qty );
    				$order_info .= "<tr>
    <td>" . $item->title( false ) . '</td>
    <td>' . $item->get_meta( 'sku', '&mdash;' ) . '</td>
    <td align="right">' . number_format_i18n( $item->qty ) . '</td>
    <td align="right">' . mp_format_currency( $currency, $item->get_price( 'lowest' ) ) . '</td>
    <td align="right">' . mp_format_currency( $currency, $price ) . '</td>
    </tr>' . "\n";
    			$order_info .= "</table><br /><br />";

    Keep in mind that you'd have to add this code, since it's custom, after there is a plugin update.

    Let me know how this works for you!

    Kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.