Research Non-SEF URLs for add to cart buttons outside of the component
- Dmitrijs Rekuns
-
Topic Author
- Offline
Less
More
- Posts: 157
- Thank you received: 8
3 days 4 minutes ago #3506
by Dmitrijs Rekuns
Non-SEF URLs for add to cart buttons outside of the component was created by Dmitrijs Rekuns
Hi Ruud,
To continue this topic: SEF is not working properly?
Your fix on ver.5.3.2 helped. Now when a user adds a product to the cart, there is correct URL to the product on the checkout page and we use redirects. Thank you so much!
One task left. However, there is still a small problem with add to cart button.
Let me explain the architecture of the site. For better design we use com_content to navigate through products and customize the pages through page builder (that's why we do not use core OchSubs product pages).
Please have a look: norrnext.com/ecommerce/virtuemart/klarna...s-hpp-for-virtuemart
Buy Now button comes with a link with the following format:
index.php?option=com_ochsubscriptions&view=order&task=product&id=77
But it transforms into:
norrnext.com/component/ochsubscriptions/...s-hpp-for-virtuemart
This is the old trick from RdSubscriptions times and it worked fine with OchSubs too.
Now technically it works, but there is no correct SEF link.
I just created a menu item to this product to test but it did not help.
Is there a chance to fix the SEF links for adding product screnario too?
Thanks for your attention.
Best regards,
Eugene
To continue this topic: SEF is not working properly?
Your fix on ver.5.3.2 helped. Now when a user adds a product to the cart, there is correct URL to the product on the checkout page and we use redirects. Thank you so much!
One task left. However, there is still a small problem with add to cart button.
Let me explain the architecture of the site. For better design we use com_content to navigate through products and customize the pages through page builder (that's why we do not use core OchSubs product pages).
Please have a look: norrnext.com/ecommerce/virtuemart/klarna...s-hpp-for-virtuemart
Buy Now button comes with a link with the following format:
index.php?option=com_ochsubscriptions&view=order&task=product&id=77
But it transforms into:
norrnext.com/component/ochsubscriptions/...s-hpp-for-virtuemart
This is the old trick from RdSubscriptions times and it worked fine with OchSubs too.
Now technically it works, but there is no correct SEF link.
I just created a menu item to this product to test but it did not help.
Is there a chance to fix the SEF links for adding product screnario too?
Thanks for your attention.
Best regards,
Eugene
Please Log in to join the conversation.
- Ruud van Lent
-
- Away
Less
More
- Posts: 1820
- Thank you received: 117
2 days 21 hours ago #3509
by Ruud van Lent
Replied by Ruud van Lent on topic Non-SEF URLs for add to cart buttons outside of the component
That is what the new 'buy now' menu item doe in version 5.4.0 that i have been mailing about.
Basically it is a menu for the order view
Basically it is a menu for the order view
Please Log in to join the conversation.