Jump to content

edtiger

Members
  • Content count

    76
  • Joined

  • Last visited

Everything posted by edtiger

  1. I needed a solution for one of my shops where I could charge a one_time set-up fee for products irregardless of product quantity. I created this contribution to solve my problem using product attributes. After this contribution is installed set your Price Prefix in the attribute section to # instead of - or +. Once set, the setup fee is added only once insted of being multiplied by the quantity. It is possible there are bugs in the code and it has not been tested with any sites which use advanced attribute contributions. Enjoy, and I will try to help if I can.
  2. Minimum Total Order Quantity is an adaptation of the minimum order total contribution for sites which need a minimum total quantity. This is not a minimum quantity per product but a minimum total quantity. The contribution uses the calculation of total items in the order and checks that total against the minimum number set in the admin configuration area.
  3. the contribution can be found here: Category & Manufacturer's name in Product_Info Page
  4. this package can be found at: http://www.oscommerce.com/community/contributions,2108
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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
  13. 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.
  14. 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...
  15. 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...
  16. 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.
  17. edtiger

    Repeat order function

    It can be found here: Order Reorder Forums can be found here: Order Reorder forums
  18. 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...
  19. Remy, Maybe this contribution isn't useful for you, but I try to streamline the checkout process for my clients. My clients typically reorder the same selection of different products multiple times so this contrib saves them time on the reorder.
  20. Thanks for this excellent contribution! I have been looking for something like this for quite some time. I just had a couple tweeks to add to this contribution. includes/application_top.php change to This alteration will allow search engine safe urls to work. The contribution wasn't working for me until I turned off search engine safe urls; but with this change it functions properly. includes/functions/general.php change to and change to If your store is like mine, you don't keep track of product quantity. The contribution will now check to see if you want to check stock level for product (admin > configuration > stock > check stock level : true/false) Again thanks for this great contribution!!!
  21. edtiger

    [CONTRIBUTION] product setup fee

    I'll take a look at this today.
  22. in the admin page select Configuration > My Store Search for "Minimum Total Order Quantity" and edit the number according to your needs. No it cannot be used as a minimum for categories. It only makes sure that the total quantity in the cart of all products combined reaches the minimum total you set. SORRY it took me so long to reply. For some reason I never received the auto notify that a post had occured to this forum.
  23. edtiger

    [CONTRIBUTION] product setup fee

    Sorry so long to reply. For some reason, I never received an email that there was a post to this forum. If you still need help, please post your file here and I will see what I can do.
  24. Small Fix Change to I have different database table names to accomodate multiple shops in one database. This fix should help everyone with the default table names.
  25. edtiger

    Repeat order function

    I am also interested in this feature. I am willing to contribute my skills to this project but I am not an expert programmer...
×