Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gringo211985 Friend
    #183865

    Hi 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 Moderator
    #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 Moderator
    #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 Friend
    #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 Friend
    #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

Viewing 5 posts - 1 through 5 (of 5 total)

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