VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: idor on May 25, 2020, 14:16:07 PM

Title: Cannot receive order email, enter product link from order page/browser
Post by: idor on May 25, 2020, 14:16:07 PM
Hi,
I just updated VM to the last version VirtueMart 3.8.2 10325, Joomla! 3.9.18

I am facing with two problems:
I made a test order but I didn´t receive the order email (as a vendor). I did receive it as a shopper.

Also (as a customer) in my list of orders > I click on an order > then click on the product and instead of the product page it gets me back to the order list with this message
Order not found! It may have been deleted.

Linking the product throught the email(shopper) works fine.
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: GJC Web Design on May 25, 2020, 15:26:27 PM
from what?

check your "Order tracking mode" in vm config

check your vendor config
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: idor on May 25, 2020, 16:15:00 PM
Hi GJC,

Thank you. Finally I received the email order an hour later. So OK about that.

The product link I am talking about, that is not working is the one shown to the user when he sees his order in the browser, once the order is done.
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: GJC Web Design on May 25, 2020, 17:24:27 PM
yes .. so check your "Order tracking mode" in vm config - from memory this controls who can see it
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: idor on May 25, 2020, 18:09:55 PM
OK Order tracking mode: I have Registered and Guest users.

I am little confused. I suppose this link should take me to the product page which is accessible for everyone. Exactly as it links from the email.
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: Jörgen on May 25, 2020, 21:28:36 PM
Examine the created html and see what kind of link you get. You have to show some examples. I suspect You have a template issue but without examples hard to know.

Jörgen @ Kreativ Fotografi
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: idor on June 01, 2020, 11:06:09 AM
Hi,
The link I get clicking the product name from the browser order is
/my-orders/test-product-detail.html

Clicking the product name from the received email the link is
/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=46&virtuemart_product_id=436&Itemid=436

Shouldn´t be the sef URL????
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: AH on June 01, 2020, 11:11:18 AM
Links to products in the email / invoice are not SEF
Title: Re: Cannot receive order email, enter product link from order page/browser
Post by: idor on June 01, 2020, 11:28:56 AM
OK, I supposed it should redirecting me somehow..

Anyway, what keeps giving me a problem is
(as a customer) in my list of orders > I click on an order > then click on the product and instead of the product page it gets me back to the order list with this message
Order not found! It may have been deleted.

The link I get clicking the product name from the browser order is
/my-orders/test-product-detail.html