Jump to content

jashnu

Members
  • Content count

    28
  • Joined

  • Last visited

Profile Information

Recent Profile Visitors

9,605 profile views
  1. Hi, has anyone come across a contribution, which let you create an additional payment for the customer? The problem is this. Sometimes a customer calls and wants to change the product he has ordered or we are simply out of stock and we offer another product. If the the product is more expensive, the customer has to pay more. This is not a problem if the customer has used credit card because we can just charge more, but quite often customers pay online in their own bank so we have to manually send the payment info. So I'd like to create a "product" called extra payment to which I could assign a certain amount to be paid. The extra payment would be available at customer's own account and he would simply proceed to the checkout and select his preferred payment type. Should you know a contribution that does something like this or has some features discussed above, I'd be interested in developing this further. Thanks, Jani
  2. Hi, is there a way to make people automatically log out after e.g. 10 min inactivity?
  3. Hi, just wondering whether there are security concerns with chmod 777. Can someone comment on this? -Jani
  4. jashnu

    Seperate Pricing Per Customer v3.5

    Hi, I just added a small bug fix to this contribution (http://www.oscommerce.com/community/contributions,716). Please, check out whether it works as intended and comment here.
  5. For some reason enabling that setting did not help. My site is done in xhtml so I wonder if it has to do something with using "&" instead of & in urls?
  6. Hi, do you know whether the add cPath to product links work? Any workarounds? Thanks in advance.
  7. Hi, thanks for a great conribution. I was wondering how can I add manufacturer name and model to the product info. I already fetch that data when not using seo urls; the sql queries are ready, but how can I make the urls change from name-p-1642.html?cPath=33_49 to manufacturer-name-model-p-1642.html?cPath=33_49 Thanks in advance. -Jani
  8. Hi! Seems like a good contribution. I was just wondering, if there's a way to disable the very first parent level (i.e. 0) because I have done top level tabs in a different way. BR Jani
  9. jashnu

    [Support] Category Fields

    I just noticed that if you use the pull down menu to navigate between the categories, the hack does not work because it only shows the last the sub-category. E.g. I have 2 levels so cPath=24_54 becomes cPath=54 if I use the pull down. I guess it would be better to check the parent category in the sql-statement.
  10. Is there a way to make attributes stay the same price, no matter how many products a person chooses i.e. buy 1 product with option a = $15 or buy 5 products with option a = $15
  11. I'd like to do the same so that I can also limit it within a category.
  12. Is there a way to make attributes stay the same price, no matter how many products a person chooses i.e. buy 1 product with option a = $15 or buy 5 products with option a = $15.
  13. jashnu

    Category Shipping

    Hi! I am trying to modify the basic table rates module so that it calculates the shipping cost based on the category. Is there a way to get the category ids (or products ids) and total number of each item easily from the shopping cart? TIA, Jani
  14. jashnu

    [Support] Category Fields

    Hi! Thanx for the great contribution. Quite many people have asked how to inherit fields in different categories. I did a tiny modification to admin/categories.php and it seems to be working. My rationale is to simply go through all the top level categories and if an extra field is found it will be included on the add/update product page. All the categories are included in cPath. So find: $extra_fields_query = tep_db_query("SELECT products_extra_fields_id, products_extra_fields_name, products_extra_fields_category, products_extra_fields_type, products_extra_fields_order, products_extra_fields_status from " . TABLE_PRODUCTS_EXTRA_FIELDS . " where products_extra_fields_category = " . (int)$current_category_id . " ORDER BY products_extra_fields_order"); and replace it with: $catIDs= str_replace("_",",",$HTTP_GET_VARS['cPath']); $extra_fields_query = tep_db_query("SELECT products_extra_fields_id, products_extra_fields_name, products_extra_fields_category, products_extra_fields_type, products_extra_fields_order, products_extra_fields_status from " . TABLE_PRODUCTS_EXTRA_FIELDS . " where products_extra_fields_category IN (".$catIDs.") ORDER BY products_extra_fields_order"); Very simple solution. I've just tried it and it seems to be working. Please test it and post your comments here. Cheers, Jani
  15. Hi! Thanx for the great contribution. Quite many people have asked how to inherit fields in different categories. I did a tiny modification to admin/categories.php and it seems to be working. My rationale is to simply go through all the top level categories and if an extra field is found it will be included on the add/update product page. All the categories are included in cPath. So find: $extra_fields_query = tep_db_query("SELECT products_extra_fields_id, products_extra_fields_name, products_extra_fields_category, products_extra_fields_type, products_extra_fields_order, products_extra_fields_status from " . TABLE_PRODUCTS_EXTRA_FIELDS . " where products_extra_fields_category = " . (int)$current_category_id . " ORDER BY products_extra_fields_order"); and replace it with: $catIDs= str_replace("_",",",$HTTP_GET_VARS['cPath']); $extra_fields_query = tep_db_query("SELECT products_extra_fields_id, products_extra_fields_name, products_extra_fields_category, products_extra_fields_type, products_extra_fields_order, products_extra_fields_status from " . TABLE_PRODUCTS_EXTRA_FIELDS . " where products_extra_fields_category IN (".$catIDs.") ORDER BY products_extra_fields_order"); Very simple solution. I've just tried it and it seems to be working. Please test it and post your comments here. Cheers, Jani
×