Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Virtuemart print order does not work
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Virtuemart print order does not work

Virtuemart print order does not work 15 years, 3 months ago #7990

Hi,

the print order icon in the order details page links to:
www.MYSITE.com/index2.php?option=com_vir...1&tmpl=component
but this link gets redirected back to:
www.MYSITE.com/shop/account.html

I see that Artio generated a SEF Url with:
New SEF URL= shop/account/order.html
Old Non-SEF Url = index.php?option=com_virtuemart&page=account.order_details
ItemID = 9
but I haven't saved it as Custom Redirect yet

I think the correct Url should include order_id also, in fact the link below works:
www.MYSITE.com/index2.php?option=com_vir...onent&order_id=8

And it works if I comment out line 591 in components/com_sef/sef_ext/com_virtuemart.php:
            // ignored vars
// if (isset($order_id)) $ignoreVars['order_id'] = $order_id;
 


Is there a better way to tell Artio not to ignore order_id?

Regards,
Alfredo Tripicchio

PS: These are my installation details:
J1.5.14
VM 1.1.3
ARTIO VM plugin 2.0.1
The topic has been locked.

Re:Virtuemart print order does not work 15 years, 3 months ago #8062

  • jaku
Hello,
ARTIO VirtueMart extension "ignore" var means, that it is not ignored totally, just it is not made part of the SEO URL.
The correct URL - as you can see also on this web should be something like:

www.artio.net/en/e-shop/account/order?order_id=5754

This means the order_id is appended behind the SEO URL.
If you do not see it at your site, probably you have changed JoomSEF configuration -- check the "Append non-sef vars" setting in JoomSEF global configuration. - it should be set to YES
The topic has been locked.

Re:Virtuemart print order does not work 15 years, 3 months ago #8066

Hello,

thanks for your answer.

I do have Append non-SEF variables to URL set to Yes, and in fact order_id gets correctly ignored by the SEO URL, and gets appended, so my order details URL looks like:

www.MYSITE.com/shop/account/order.html?order_id=33

which is right.

The problem arises with the link of the print icon (top right of the page) that looks like:

www.MYSITE.com/index2.php?option=com_vir...1&tmpl=component

As you see, here order_id is missing, and the popup redirects me to:

www.MYSITE.com/shop/account.html

that is of course not correct.

Regards,
Alfredo Tripicchio
The topic has been locked.

Re:Virtuemart print order does not work 15 years, 3 months ago #8067

  • jaku
Hello,

ok, well, but that link has nothing to do with JoomSEF. JoomSEF does not process URLs that start with index2.php. So I guess, the order_id would be missing there even when JoomSEF would not be active or present. Maybe you can try that. If so, then you should report this rather to authors of VirtueMart.
(the print icon does not show up on our web, so I cannot check this)
The topic has been locked.

Re:Virtuemart print order does not work 15 years, 3 months ago #8069

OK,

I have:

1. disabled Artio AND Joomla SEO, mod_rewrite, URL suffix from global configuration
RESULT:
the order detail page URL is
www.MYSITE.com/index.php?page=account.or...tuemart&Itemid=2
the print link on top of this page is
www.MYSITE.com/index2.php?page=account.o...1&tmpl=component
and it WORKS

2. disabled Artio but kept the above three options ON in Joomla SEO configuration
RESULT:
the order detail page URL is
www.MYSITE.com/shop.html?page=account.or...ails&order_id=33
the print link on top of this page is
/www.MYSITE.com/index2.php?page=account....1&tmpl=component
and it DOES NOT WORK: 404 Error
The topic has been locked.

Re:Virtuemart print order does not work 15 years, 3 months ago #8151

  • jaku
Hello,

if it does not work even when JoomSEF is disabled, then there is not much we could do to influence it in JoomSEF.
In any case, this behaviour is quite strange. Maybe there is some bug either in Joomla or VirtueMart. We will try to test this a bit more.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty