-
AuthorPosts
-
gringo211985 Friend
gringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
January 11, 2013 at 1:06 pm #183865Hi there,
2 questions for you all,
1. How do I add a link to the slideshow in JA Vintas
2. The checkout page of VM has the url mydomain.com/component/virtuemart how can I change this to something like mydomain.com/checkout
Thanks in advance
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 11, 2013 at 9:26 pm #479421<em>@gringo211985 354686 wrote:</em><blockquote>Hi there,
1. How do I add a link to the slideshow in JA Vintas
Thanks in advance</blockquote>
You can add code (similar to below) into the description field of the slideshow module
<p>customized link to the designed page</p>
<p>customized link to the designed page 2</p>
<p>customized link to the designed page 3</p>
Hope That Helps
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 11, 2013 at 9:33 pm #479423<em>@gringo211985 354686 wrote:</em><blockquote>
2. The checkout page of VM has the url mydomain.com/component/virtuemart how can I change this to something like mydomain.com/checkout
</blockquote>Which version of VirtueMart are you using?
You can try this solution . . . .
Modify /components/com_virtuemart/router.php, line 130-135 from:
case 'productdetails';
$virtuemart_product_id = false;
if (isset($jmenu['virtuemart_product_id'][ $query['virtuemart_product_id'] ] ) ) {
$query['Itemid'] = $jmenu['virtuemart_product_id'][$query['virtuemart_product_id']];
} else {
to
case 'productdetails';
$virtuemart_product_id = false;
if (isset($jmenu['virtuemart_product_id'][ $query['virtuemart_product_id'] ] ) ) {
$query['Itemid'] = $jmenu['virtuemart_product_id'][$query['virtuemart_product_id']];
unset($query['virtuemart_product_id']);
unset($query['virtuemart_category_id']);
} else {
What we did was simply add:
unset($query['virtuemart_product_id']);
unset($query['virtuemart_category_id']);
gringo211985 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
January 12, 2013 at 11:31 am #479487<em>@TomC 354726 wrote:</em><blockquote>You can add code (similar to below) into the description field of the slideshow module
<p>customized link to the designed page</p>
<p>customized link to the designed page 2</p>
<p>customized link to the designed page 3</p>
Hope That Helps</blockquote>
Hi Tom,
I tried to use this for the JA Image slideshow lite and the links do not work on the slider, if I make you a login could you have a look for me?
gringo211985 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
January 12, 2013 at 11:39 am #479488<em>@TomC 354728 wrote:</em><blockquote>Which version of VirtueMart are you using?
You can try this solution . . . .
Modify /components/com_virtuemart/router.php, line 130-135 from:
case 'productdetails';
$virtuemart_product_id = false;
if (isset($jmenu['virtuemart_product_id'][ $query['virtuemart_product_id'] ] ) ) {
$query['Itemid'] = $jmenu['virtuemart_product_id'][$query['virtuemart_product_id']];
} else {
to
case 'productdetails';
$virtuemart_product_id = false;
if (isset($jmenu['virtuemart_product_id'][ $query['virtuemart_product_id'] ] ) ) {
$query['Itemid'] = $jmenu['virtuemart_product_id'][$query['virtuemart_product_id']];
unset($query['virtuemart_product_id']);
unset($query['virtuemart_category_id']);
} else {
What we did was simply add:
unset($query['virtuemart_product_id']);
unset($query['virtuemart_category_id']);
</blockquote>Hi Tom,
Tried that code and it didn’t work the checkout URL remained the same.
I am using VM 2.0.18a if that would make a difference for the code I need to edit
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by gringo211985 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum