Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Undefined

Archived
  • Posts

    26
  • Joined

  • Last visited

Everything posted by Undefined

  1. seems like everything worked for me... except i seem to be missing some variables in my language file. Does that mean my version of oscommerce is too old? its showing HEADING_TITLE_EP, SPLIT_EP, and a bunch of other variables. did i miss out on some stuff to copy and paste in the language file?
  2. I need to create a button that can send a different product id to a another site. The first thing I was thinking was to edit the sql table to have a "yes or no" for each product, kind of like the red or green circle if a product is enabled or not. To do this i know i need to edit /catalog/admin/categories.php to have a new red or green section if the product is linked or not. Then I know catalog/product_info.php needs to be edit so if the product is linked to show the button. I'm not even if this is the right section to be asking such a question but i'm not very experienced with php and I was hoping someone could tell me if i'm even heading in the right direction.
  3. I would just like to say that this contribution works like a charm. The error I was getting was my own fault. Doh!. Keep up the good work fellas.
  4. Thanks for your help. I will definately take this into account while trying to tackle this. By the way, in your opinion is php better than asp? Just curious since I want to get into web programming. I'll probably pick up a book or two on SQL while i'm at it.
  5. I appreciate all your help. I understand what you're saying. I guess I need to get to reading on php. How close is it to c++? I was looking over the code and I can pretty much pick up on most of the logic throughout the files. Ands thanks again.
  6. i'm trying to edit the quote function in the table.php file. I want the shipping costs for each weight category set up in the table added together, instead of calculating by the total weight. For example: if my table was given 2:1.13,4:1.18 and the cart had three items, 2 items at 2ounces and one at 4ounces the shipping cost should be 3.44. Like I said i don't really have much experience with php so bare with me, but it seems pretty straight forward. $table_cost = split("[:,]" , MODULE_SHIPPING_TABLE_COST); $size = sizeof($table_cost); for ($i=0, $n=$size, $z=0; $z<$n; $i+=2, z+=1) { if ($the_array_of_weights_in_cart[$z] <= $table_cost[$i]) { echo $shipping; //this is just to show me what's happening $shipping += $table_cost[$i+1]; //break; take the break out to keep the loop going } in theory if the $the_array_of_weights_in_cart[] was an array of the weights in the cart this would work, but i'm not sure. Thanks for any help in advance.
  7. Is there a variable that I can call(an array) that contains all the products in the users shopping cart? Hopefully the array will have a way where I can pull the products weight weight from it also. I'm trying to make a for statement that goes through the product weights in the shopping cart to pass them into another variable. I'm not the best with php, but most languages have a similar structure, and I need to make some changes for my own purposes.
  8. does anyone know why when after a purchase is complete, and I return from paypal to the checkout_success page the url in my browser says catalog/checkout_success.php?action=success&tx=8Y668775UK2958430&st=Completed&amt=12.99&cc=USD&cm=56a8e2b1c627c475d9d03ce058d68cce&sig=pVMQrCWeWJ8/%2Bqx0Oj1sFDT7104zmxIRdMnNMufi7TPT0D0C6Kj4dmbIwxV8XMpPeN6T5kIOz7/gE9U4uvDtq19lsbZNNlFQUz91eJRvPU31rsJhpZx9uYclGyXUvGIqdpXQk4a3YaGsjZikxtYhwyU7kSE K0CFGNu2K%2BImQWvs%3D I think this is the root of my problem.... also my debug e-mails stopped once again
  9. disregard.... silly me. Great contribution to a great cart. Sorry for taking up space with my countless and useless posts
  10. Well, Ithought i had it fixed, but as soon as i changed the e-mail info to the account i have set up on paypal It started back with the same thing. In the order section no info what so ever in the paypal information section accept for a long transaction signature. Also when I changed e-mails the debug e-mails stopped coming in. I'll keep trying to see whats going on, but if anyone has any recommendations or tips they would be greatly appreciated.
  11. Just wanted to say thumbs up to greg and the developers of the osC cart. I got my problem fixed and everything is ok. Thanks for all your help.
  12. v2.6 users can just copy over the contrib files, however catalog/info_paypal.php has now been renamed to popup_paypal.php for STS compatibility This is in the release notes of the PayPal_Shopping_Cart_IPN version 2.6a, that is why there is no info_papypal.php
  13. Does the above show a successful test? Are there any test emails I need to look at at this point? Is it now safe to turn test mode off, and try some test transactions with paypal (I'm going to skip using the developer's zone) Thanks in advance, C I am having the exact same problem as Pulp. This being my first post I would like to say that osCommerce is great and so is this contribution from what I can see so far. Any tips or suggestions would be greatly appreciated. Thanks in advance.
×
×
  • Create New...