VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: vmvm on December 16, 2017, 12:07:33 PM

Title: system messages in the shopping cart
Post by: vmvm on December 16, 2017, 12:07:33 PM
Hello!
When placing an order in the shopping cart, no system messages are displayed
if turn off the sef in Joomla, the messages are displayed.
How to fix?

sorry for my English

Joomla 3.8.3 VM 3.2.8
Title: Re: system messages in the shopping cart
Post by: Alemantico on December 19, 2017, 09:30:18 AM
hmmm... you're not providing really much information. So its really hard to tell! What sef are you talking about; native or an extension? IF extension, than what extension is it? Where do you run your joomla from; localhost or server? What php version is applied on your server?
Title: Re: system messages in the shopping cart
Post by: vmvm on December 19, 2017, 11:03:20 AM
I run Joomla from localhost. php version 7.0.10. Sef is native.
The shopping cart is assigned a menu item.
If sef is enabled, there are no system messages
if disabled, the messages are displayed
Title: Re: system messages in the shopping cart
Post by: Alemantico on December 19, 2017, 11:58:59 AM
by messages, do you mean the shopping cart popup? Usually, you don't need to assign the shopping card. May I ask what template are you using?
Title: Re: system messages in the shopping cart
Post by: vmvm on December 19, 2017, 13:36:59 PM
no, I mean the message on the cart page. Template protostar
these are the messages


(https://screenshots.firefoxusercontent.com/images/e140d6bf-eab3-4762-918f-4ef2e389238f.png)


if do not assign a menu item, then the modules that are on the home page are displayed on the cart page


(https://screenshots.firefoxusercontent.com/images/af40539c-bfe9-4bd3-9c34-2e2749449281.png)
Title: Re: system messages in the shopping cart
Post by: jenkinhill on December 19, 2017, 15:19:19 PM
SEF should not really be used for a site in development as it makes it difficult to debug, and this is even more important on localhost, where I have found that SEF does not always work as expected. Once on a proper live server it would be normal to debug something like this by turning on VMdebug.

You should also be using the latest VM version - currently 3.2.10.9700
Title: Re: system messages in the shopping cart
Post by: Studio 42 on December 19, 2017, 15:48:35 PM
Hi,
I think that you have perhaps a redirecting problem.
Try to add a menulink to cart, You can use a Joomla menu without adding a module, if you dont want see it in your website(do it for each language if you have multilanguage website).
Title: Re: system messages in the shopping cart
Post by: GJC Web Design on December 19, 2017, 16:26:58 PM
do u see any system messages with your template?  e.g. on core Joomla processes?
Title: Re: system messages in the shopping cart
Post by: Alemantico on December 19, 2017, 21:12:23 PM
I think that jenkinhill might be right; I'd some similar experiences before. At least it narrows  ;) ! Hey, as I can see, you're using the omg menu extension. Did you already tried to disable the omg menu comp and check than? At last instance you could check your site on debug mode.
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 13:34:57 PM
Quote from: jenkinhill on December 19, 2017, 15:19:19 PM
SEF should not really be used for a site in development as it makes it difficult to debug, and this is even more important on localhost, where I have found that SEF does not always work as expected. Once on a proper live server it would be normal to debug something like this by turning on VMdebug.

You should also be using the latest VM version - currently 3.2.10.9700

updated VM to 3.2.10
I will try on a live server
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 13:36:06 PM
Quote from: GJC Web Design on December 19, 2017, 16:26:58 PM
do u see any system messages with your template?  e.g. on core Joomla processes?

Yes. Not displayed on cart page only.
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 14:00:35 PM
Quote from: Studio 42 on December 19, 2017, 15:48:35 PM
Hi,
I think that you have perhaps a redirecting problem.
Try to add a menulink to cart, You can use a Joomla menu without adding a module, if you dont want see it in your website(do it for each language if you have multilanguage website).

if click check out now, then url is this
localhost/demo/cart/checkout  and no system messages

after that, if for example apply a coupon and click check out now, then url is this
localhost/demo/cart/  and messages are displayed
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 14:05:40 PM
Quote from: Alemantico on December 19, 2017, 21:12:23 PM
I think that jenkinhill might be right; I'd some similar experiences before. At least it narrows  ;) ! Hey, as I can see, you're using the omg menu extension. Did you already tried to disable the omg menu comp and check than? At last instance you could check your site on debug mode.

I tried to disable the omg menu, no changes.
Title: Re: system messages in the shopping cart
Post by: Studio 42 on December 20, 2017, 15:14:52 PM
I never have see this message, so i'm wondered in wich case you see this.
When my cart is valid, the confirm button change, That"s all.
When i add product, the message is in the modal.
Perhaps you need to check about OPC setting in the virtuemart Config > Checkout.
Another problem can be if you have same menu alias as view name.
Try for eg to change menu alias 'cart' too 'basket'
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 16:05:16 PM
This happens if checkout order as a guest.
if click Register And Checkout or Checkout as Guest.
Title: Re: system messages in the shopping cart
Post by: Studio 42 on December 20, 2017, 18:26:21 PM
Hav you try to change the joomla menu alias(slug) ?
Title: Re: system messages in the shopping cart
Post by: vmvm on December 20, 2017, 19:48:56 PM
Quote from: Studio 42 on December 20, 2017, 18:26:21 PM
Hav you try to change the joomla menu alias(slug) ?

Yes, not displayed.
Title: Re: system messages in the shopping cart
Post by: Studio 42 on December 21, 2017, 10:08:12 AM
I cannot give you another answer, to understand, only debugging your live site can reveal the problem.
Title: Re: system messages in the shopping cart
Post by: vmvm on December 26, 2017, 13:59:46 PM
Thanks to all.
I created a Front page in the hidden menu, now messages are displayed.
(https://screenshots.firefoxusercontent.com/images/4b679ccf-1015-4ab3-bf64-7715bb5b3d39.png)
Title: Re: system messages in the shopping cart
Post by: Jörgen on December 26, 2017, 19:12:33 PM
Hello
It is what it sais, "Front Page layout" is deprecated (not to be used any more), use the "Category Layout" and adjust the settings for a front page layout.

regards

Jörgen @ Kreativ Fotografi
Title: Re: system messages in the shopping cart
Post by: Alemantico on December 27, 2017, 17:45:15 PM
But your issue is solved now? Anyway, even its depreciated, many vm user (including myself) astick with  it as default front page. That might be, because (at least in my opinion) the new category page still needs lot of improvement. But at the end it's always depend on, what look you like most  8). Nevertheless, the difference with the category layout is, that there you have more display settings.