Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Ashwin Iyer Friend
    #170923

    Hello,

    I am using this template with Joomla 1.5 version and Vertuemart 1.1.4
    I am trying to add extra product IDs to show other products with main product. But it is not showing any changes.
    Can anybody help me to sort this issue.

    tfosnom Friend
    #425719

    Is that by trying to use the ‘show similar products’ feature. I have a zeolite cart I did a long time ago I may be able to test on, That’s probably the only extra id allocation I can remember without going back to the site etc.
    Let me know
    Shane

    Ashwin Iyer Friend
    #425729

    I am not sure about ‘show similar products’ is the same option of Extra IDs. What i understood with this option is, Extra IDs allow us to add any other product form the shop with main product. And it shows on main product flypage.

    For eg. If we have Bamboo tree as a product and we want to show multiple container as Extra Products. Means a customer can purchase tree and if he want to choose some specific option of container, he can add that container to cart from same page. So tree and container can be added via one page itself.

    Ashwin Iyer Friend
    #428006

    Is there anyone who can help me for this issue???

    richardmax Friend
    #428443

    I have the same problem.

    But when i change the site theme on Admin -> settings -> theme to DEFAULT works fine. See atached files.

    I hope Joomlart staff answer ASAP.

    Regards

    PD: DEBUG function do not work with ja-zeolite theme. I’m error at enable DEBUG:

    JDatabaseMySQL::query: 1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘/span> ) UNION ALL SELECT product_id,product_name,product_parent_id,product’ at line 1 SQL=SELECT product_id,product_name,product_parent_id,product_sku,product_in_stock,product_full_image,product_thumb_image FROM jos_vm_product WHERE product_publish=’Y’ AND product_parent_id=’38’ UNION ALL SELECT product_id,product_name,product_parent_id,product_sku,product_in_stock,product_full_image,product_thumb_image FROM jos_vm_product WHERE product_publish=’Y’ AND product_id IN (59 ) UNION ALL SELECT product_id,product_name,product_parent_id,product_sku,product_in_stock,product_full_image,product_thumb_image FROM jos_vm_product WHERE product_publish=’Y’ AND product_parent_id IN ( $47) ORDER BY product_id


    1. default
    2. ja-zeolite
    richardmax Friend
    #428560

    I get the solution:

    At shop/components/com_virtuemart/themes/ja-zeolite/templates/product_details/includes/addtocart_list_multi.tpl.php

    Change line 10:

    list($html,$children) = $ps_product_attribute->list_attribute( ( $product_parent_id > 0 ) ? $product_parent_id : $product_id, $product_price);

    by:

    list($html,$children) = $ps_product_attribute->list_attribute( ( $product_parent_id > 0 ) ? $product_parent_id : $product_id );

    In fact, only remove
    , $product_price

    Important!! almost all CHECK_STOCK sentences have been remove in theme files. As i need check inventory stock, i added too:

    if( CHECK_STOCK == '1' && ( $product_in_stock < 1 ) ) {
    $notify = true;
    } else {
    $notify = false;
    }

    After line 12:
    if ($children != "multi") {

    Now you only must set the add to car ttable

    Best Regards,

    Richardmax

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

This topic contains 6 replies, has 3 voices, and was last updated by  richardmax 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum