Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

superness

Pioneers
  • Posts

    12
  • Joined

  • Last visited

Posts posted by superness

  1. I am also having this kind of problem in my attributes. For example, I have one product with three attributes (att 1, att 2 and att 3). If I try to enter 3 quantity in att 2, att 1 and 3 will also be added in my shopping cart with 1 quantity. so a total of 5 quantities will be shown in my cart. I hope someone can help me with this one.

     

     

     

     

    I visited your site and tried to add 1 quantity for one of your attributes and noticed that the only attribute being added to the shopping cart is the one where i entered a quantity. how did you do this? can you share your code with me so that i can see where i have gone wrong.

     

    thanks.

     

    i hope someone can help me with this problem

  2. Exactly.

     

    Here on this page see what I mean, add 1 to your cart. It will give you 3, because it comes in 3 colors.

     

    If you go here, & add 1 to your cart, you will get 2 - that items has 2 colors.

     

    Every item that uses color or size options is doing that.

     

    It was working ok, now all of a sudden it's not. I'm completely stumped as to what happened.

     

    I am also having this kind of problem in my attributes. For example, I have one product with three attributes (att 1, att 2 and att 3). If I try to enter 3 quantity in att 2, att 1 and 3 will also be added in my shopping cart with 1 quantity. so a total of 5 quantities will be shown in my cart. I hope someone can help me with this one.

     

     

    ohh.. yea, you will have to change the prices of all of the attributes.. unfortunately.

     

    You can see it work here

    Product Info Page

     

    I visited your site and tried to add 1 quantity for one of your attributes and noticed that the only attribute being added to the shopping cart is the one where i entered a quantity. how did you do this? can you share your code with me so that i can see where i have gone wrong.

     

    thanks.

  3. Just want to ask where to edit the calculation of pending points. Because aside from shipping and tax, i have other charges like shipping insurance, low order fee, etc. I dont want to include the cost of these other charges when computing for pending points. I already changed my code in /includes/functions/redemptions.php to this:

     

    // products pending points to add.
     function get_points_toadd($order) {
    
      if ($order->info['total'] > 0) {
    	  if ((USE_POINTS_FOR_SHIPPING == 'false') && (USE_POINTS_FOR_TAX == 'false'))
    	  $points_toadd = $order->info['total'] - $order->info['shipping_cost'] - $order->info['tax'] - $order->info['paypal_fee'] - $order->info['insurance'];
    	  else if ((USE_POINTS_FOR_SHIPPING == 'false') && (USE_POINTS_FOR_TAX == 'true'))
    	  $points_toadd = $order->info['total'] - $order->info['shipping_cost'] - $order->info['paypal_fee'] - $order->info['insurance'];
    	  else if ((USE_POINTS_FOR_SHIPPING == 'true') && (USE_POINTS_FOR_TAX == 'false'))
    	  $points_toadd = $order->info['total'] - $order->info['tax'] - $order->info['paypal_fee'] - $order->info['insurance'];
    	  else $points_toadd = $order->info['total'] - $order->info['paypal_fee'] - $order->info['insurance'];
    
    	  if (USE_POINTS_FOR_SPECIALS == 'false') {
    		  for ($i=0; $i<sizeof($order->products); $i++) {
    			  if (tep_get_products_special_price($order->products[$i]['id']) >0) {
    				  if (USE_POINTS_FOR_TAX == 'true') {
    					  $points_toadd = $points_toadd - (tep_add_tax($order->products[$i]['final_price'],$order->products[$i]['tax'])*$order->products[$i]['qty']);
    				  } else {
    					  $points_toadd = $points_toadd - ($order->products[$i]['final_price']*$order->products[$i]['qty']);
    				  }
    			  }
    		  }
    	  }
    	  return $points_toadd;
      } else {
    	  return false;
      }
     }
    

     

    but when a customer confirms his order, the other charges are still being included in the computation of pending points.

     

    For example

     

    Sub total $100

    Shipping $10

    Insurance $9

    Total $119

     

    Pending points should be 100 (shipping and tax are excluded in my admin) but when i go to the admin section under pending points, the points calculated is 109.

     

    thanks

  4. There is a url setting in the article edit page in admin. You have to enter the url as indicated. I tried it here and it works as expected.

     

    I entered the link in the Article URL box as www.yoursite.com but it still directs to the index page of my oscommerce shop. The link I am putting is a wordpress site.

  5. i have another question, in the articles info page, there's a sentence that says "For more information about this article, please visit this web page." But if you click the link, I am getting redirected in my index page and not in the url of the article. How can i fix this one so that it will redirect to the article url?

     

    thanks

  6. Hi!

     

    I am not a programmer but I am making my own site by using add-ons.

     

    I installed the DCC ver 3.34. I followed the steps as best as i could and everything seems working fine until i tested the discount coupon.

    In my checkout_confirmation page, i found out that my sub-total is doubling.

     

    For example, subtotal is 850.00 for one item, it will show 1,700. then from there, the discount will be computed so my total is not correct.

    i tried to search for answer but i really cant find one so im posting my problem here.

     

    hope somebody can help me with this one.

     

    thanks

×
×
  • Create New...