Jump to content

vinrita

Members
  • Content count

    7
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Vin
  1. vinrita

    Quantity Price Breaks

    I finally fixed it. I buried my head in product_info.php, but the issue was with the cart->addcart in application_top.php Thank you for your great effort in releasing such a great contribution and the support forum.
  2. vinrita

    Quantity Price Breaks

    Hi Carie, I am having the same problem with adding item to cart from th product_info page. When i add 1 item, the Cart will show 2. If i add 2, It will show 3 and so on. But if i update the quantity in shopping cart, it works fine. Otherwise, everything works great!! Have anyone encounter this problem?
  3. vinrita

    ### POINTS AND REWARDS MODULE V1.00 ###

    Thank you so much for such great contribution. Installed the latest version and everything works fine except that the reward points are being deducted at the Checkout confirmation page even when i did not click the "CONFIRM ORDER" button. Let's say the customer has 100 points = $100 at the Checkout Confirmation page, it will show Sub-Total: $6.40 Zone Rates (Shipping to US : 0 kg(s)): $5.12 Points Redeemed: -$2.62 Total: $8.90 Now, i decided not to make the purchase and click on "delivery information", "payment information", "My Account", "HOME" or any other button, the points will get deducted without making the purchase and the items still in the cart. I've went over all the edited files and couldn't find anything. I've also searched the forum, but couldn't find a solution to this problem. Any kind of help will be greatly appreciated.
  4. vinrita

    [Contribution] oscThumb

    This is a great contribution, I've installed it and everything works great except that when i click on the thumbnail, the enlarged picture did not show in POP-UP window. Instead it use the current window. Can someone please help me with how to make photo shows in POP-UP? Many Thanks, Vin.
  5. vinrita

    2gether Discount

    This is a really great contribution and thank you for your effort releasing this contribution. I am so eager to get it to work right, but it is way over my head right now. I am hoping someone could provide some help and point me in the right direction. below is what i have in the Application_top.php after combining the 2gether and QT PRO code. any help will be much appreciated. Thanks.... case 'add_product' : if (isset($HTTP_POST_VARS['products_id']) && is_numeric($HTTP_POST_VARS['products_id'])) { // if (tep_get_products_stock($HTTP_POST_VARS['products_id']) > 0) $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']); } //++++ QT Pro: Begin Changed code $attributes=array(); if (isset($HTTP_POST_VARS['attrcomb']) && (preg_match("/^\d{1,10}-\d{1,10}(,\d{1,10}-\d{1,10})*$/",$HTTP_POST_VARS['attrcomb']))) { $attrlist=explode(',',$HTTP_POST_VARS['attrcomb']); foreach ($attrlist as $attr) { list($oid, $oval)=explode('-',$attr); if (is_numeric($oid) && $oid==(int)$oid && is_numeric($oval) && $oval==(int)$oval) $attributes[$oid]=$oval; } } if (isset($HTTP_POST_VARS['id']) && is_array($HTTP_POST_VARS['id'])) { foreach ($HTTP_POST_VARS['id'] as $key=>$val) { if (is_numeric($key) && $key==(int)$key && is_numeric($val) && $val==(int)$val) $attributes=$attributes + $HTTP_POST_VARS['id']; } } if (isset($HTTP_POST_VARS['buy_tinn_add']) && is_numeric($HTTP_POST_VARS['buy_tinn_add'])) { //if (tep_get_products_stock($HTTP_POST_VARS['buy_tinn_add']) > 0) { $cart->add_cart($HTTP_POST_VARS['buy_tinn_add'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['buy_tinn_add'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id_b']); //} //++++ QT Pro: End Changed Code } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break;
  6. vinrita

    2gether Discount

    The exact issue is when a product is assigned attribute such as COLOR, i would get the error message below when trying to "add to cart" for the attributed product or "buy now" with the 2gether discounts Product A + Product B. ERROR MESSAGE: "The combination of the options you have selected is currently out of stock. please select another combination" I am positive the product has 1000 stocks. I have also tried other scenarios below. Product A (with attribute color) = ERROR message above Product A (with attribute color) + Product B (without attribute) = ERROR message above If i try the combination below, it works fine. Product B (without attribute) + Product A (with attribute) = This works fine Does anyone know how to fix this? Many Thanks.
  7. vinrita

    2gether Discount

    I am having the same problem as the poster below regarding the QT PRO with 2gether. I am having trouble with the application_top.php since is was modified for the QT PRO. Does anyone have a working PHP for this issue or point me in the right direction? Thanks, Vin. Posted 18 September 2007 - 02:01 PM Hi guyz... same problem here..... how can we setup QTPRO with 2gether qtpro Quote case 'add_product' : if (isset($HTTP_POST_VARS['products_id']) && is_numeric($HTTP_POST_VARS['products_id']) && ($HTTP_POST_VARS['products_id']==(int)$HTTP_POST_VARS['products_id'])) { //++++ QT Pro: Begin Changed code $attributes=array(); if (isset($HTTP_POST_VARS['attrcomb']) && (preg_match("/^\d{1,10}-\d{1,10}(,\d{1,10}-\d{1,10})*$/",$HTTP_POST_VARS['attrcomb']))) { $attrlist=explode(',',$HTTP_POST_VARS['attrcomb']); foreach ($attrlist as $attr) { list($oid, $oval)=explode('-',$attr); if (is_numeric($oid) && $oid==(int)$oid && is_numeric($oval) && $oval==(int)$oval) $attributes[$oid]=$oval; } } if (isset($HTTP_POST_VARS['id']) && is_array($HTTP_POST_VARS['id'])) { foreach ($HTTP_POST_VARS['id'] as $key=>$val) { if (is_numeric($key) && $key==(int)$key && is_numeric($val) && $val==(int)$val) $attributes=$attributes + $HTTP_POST_VARS['id']; } } $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+1, $attributes); //++++ QT Pro: End Changed Code } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; 2gether Quote //// bof: Added 2gether (contribution 3929) case 'add_product' : if (isset($HTTP_POST_VARS['products_id']) && is_numeric($HTTP_POST_VARS['products_id'])) { if (tep_get_products_stock($HTTP_POST_VARS['products_id']) > 0) $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']); } if (isset($HTTP_POST_VARS['buy_tinn_add']) && is_numeric($HTTP_POST_VARS['buy_tinn_add'])) { if (tep_get_products_stock($HTTP_POST_VARS['buy_tinn_add']) > 0) { $cart->add_cart($HTTP_POST_VARS['buy_tinn_add'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['buy_tinn_add'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; //// eof: Added 2gether (contribution 3929) How make this work "2gether"?
×