Jump to content

edtiger

Members
  • Content count

    76
  • Joined

  • Last visited

  1. the contribution can be found here: Category & Manufacturer's name in Product_Info Page
  2. I wonder if the files got corrupted during your first ftp. Sometimes it happens to me--I like to use Beyond Compare to make sure the files on the server look the same as the ones on my pc.
  3. edtiger

    [CONTRIBUTION] product setup fee

    can you take a screenshot of the product page for this product so I can see that as well? Or you could pm me your url.
  4. First check to make sure there are no extra line breaks at the end of your checkout_shipping.php and general.php files after the ?> tag. If there are extra line breaks, it will often give an error similar to the one you mention. TEXT_ORDER_UNDER_MIN_QUANTITY_AMOUNT means you haven't added the variable to your checkout_shipping.php english file. Add this variable to that file and that should go away.
  5. edtiger

    [CONTRIBUTION] product setup fee

    The product setup fee is attached to the product via attributes and is not attached to customers. Therefore, anytime a customer adds X product to shopping cart on orders or re-orders, the setup fee for product X will be charged (if any). I am sure you could create a setup fee for product groups, but I'm not sure where you would begin. My contribution is just a simple mod to the way product attributes are handled. I am by no means an expert coder. However, we have had very good success with rentacoder or like programming providers in the past. Maybe this is the way to go for you. For around $100 US dollars you can get quite a bit of custom coding done.
  6. edtiger

    [CONTRIBUTION] product setup fee

    It isn't relient on discount coupons. Those lines are just there so the coupon and gift voucher files can be appropriately modified if they exist. Just ignore those lines in the instructions if you don't have the coupons mod installed.
  7. edtiger

    [CONTRIBUTION] product setup fee

    After checking again, it appears I made a mistake in the instructions. Step 5 should read: instead of STEP 5: admin/includes/classes/order.php. When I wrote step 5 I forgot to changed the filename from step 4. I caught it because it didn't make sense having two steps for the same file. I have uploaded the small change to the contributions page. Sorry for all the headaches.
  8. edtiger

    [CONTRIBUTION] product setup fee

    I should be receiving notifications now on this topic. I just figured out why I wasn't getting emails--I wasn't subscribed... Gee, I feel sheepish.
  9. edtiger

    [CONTRIBUTION] product setup fee

    In my hasty reply back in september I mixed up catalog/admin/includes/classes/order.php and catalog/includes/classes/order.php. That would explain the *different* build dates and vastly different file contents. I will post both of my files here for you to compare: catalog/admin/includes/classes/order.php catalog/includes/classes/order.php
  10. You will want to add a database query somewhere in here like this: The category id is not being retrieved from the database so you first need to grab it so you can use it to check against the category id of products in the shopping cart. This should get you started. I don't know how to do the rest of it without doing it myself to an install of oscommerce.
  11. edtiger

    [CONTRIBUTION] product setup fee

    Sorry about the lack of replies in the last couple months. For some reason, I'm not getting notifications when people post to the form. I probably have something misconfigured somewhere. Anyway, I will sort through this and try to come up with a concise answer to all the questions. The build dates are only 10 days apart...
  12. Try adding a function to catalog/includes/classes/shopping_cart.php that looks something like this: function count_cat_contents() { // get total number of items in cart $total_items = 0; if (is_array($this->contents)) { reset($this->contents); while (list($products_id, ) = each($this->contents)) { //modify this line so it only collects quantities from products within desired category $total_items += $this->get_quantity($products_id); } } return $total_items; } Then change all the code in my setup file to the following: if ($cart->count_cat_contents() < MIN_TOTAL_ORDER_QUANTITY) { That should get you started. I wouldn't know exactly how to do it without coding the fix myself...
  13. edtiger

    [CONTRIBUTION] product setup fee

    This is what your order.php *should* look like. It appears the file you posted has been corrupted and is missing quite a bit of code. Use a tool like Beyond Compare to compare your order.php to the one posted here. Use the file below as your new order.php, add back in your paypal IPN contribution, and you should be good to go.
  14. edtiger

    Repeat order function

    It can be found here: Order Reorder Forums can be found here: Order Reorder forums
  15. edtiger

    NEW! Complete Order Editing Tool!

    Anyone ran into a problem when using attibutes which decrease(-) the price instead of add (+)? Everytime I edit a product, it always comes back with the plus sign and adds to the product price instead of decreasing it...
×