Jump to content

coolfly

Members
  • Content count

    102
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    coolfly

Recent Profile Visitors

7,945 profile views
  1. coolfly

    [Contrib] Make An Offer

    Hi Jozinecko, Again, sorry I have been on holiday. I got your IM. If you are still having this problem, let me know and I will look at the code to remove the tax and get back to you. As for the incorrect price, see the code change I put in the message above for Nichole, this may help you too.
  2. coolfly

    [Contrib] Make An Offer

    Hi Nicole, Sorry I've been away for a while. On your first question about the red and green lights, I will look at the code for what controls that and get back to you shortly. On your second question about the incorrect price try this (only if you are using the v2.2 rc2 store) in catalog/make_an_offer.php, look for the code: // $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; $products_price = $currencies->display_price($productid,$new_price, tep_get_tax_rate($product_info['products_tax_class_id'])); // Price without currency symbols $products_price_clean = tep_round(tep_add_tax($new_price * $rate,tep_get_tax_rate($product_info['products_tax_class_id'])),$currencies->currencies[$currency]['decimal_places']); } else { $products_price = $currencies->display_price($productid,$product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); and change to: // $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); // Price without currency symbols $products_price_clean = tep_round(tep_add_tax($new_price * $rate,tep_get_tax_rate($product_info['products_tax_class_id'])),$currencies->currencies[$currency]['decimal_places']); } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); On question 3, I'm not sure I understand..the customer is going to decide what they want to offer you. If you would like, there are ways we can put a note to 'alert' the customer that 'tax will be added' (and they can think of this while they decide what to offer you) On question 4, No it's not possible. It would be nice to be able to accept offers directly from the email, but I think that would cause a security issue. One thing I am (slowly) working on in my free time, is the ability to accept offers from your admin panel (which you would have to securely sign into)..where it would put the offer in their shopping cart for when they return. The email can have an option to both 1) reply to the sender telling them you accept/reject their offer, and 2) provide you a link to your admin where you will then sign in first and then apply the new accept options(if you're going to accept). Again, something for the future, when I have a weekend to look at it. Again, sorry for late reply, if you are still having these issues, let me know and I'll do my best to help you.
  3. coolfly

    [Contribution] - USPS Methods

    Just wanted to add that if you are getting the following error or similar: check to make sure your admin/includes/modules.php and admin/includes/functions/general.php have all the updated code mentioned in the directions for previous versions...if you've installed other contributions, you may have replaced those pages with earlier versions that need updating....even if you haven't used other contributions, check anyway. don't ask me how I know :rolleyes:
  4. you the man...sure enough I put the new code 'under' instead of 'replacing' :-" ..Thanks!
  5. Hey Sam, first time using this....SUPER! quick question, everything seems to work fine, but I think I also have an extra 'browse for image' field aside from the four that I (believe I) should have...based on these pics, did I do something wrong? ...I'm talking about the one where the browse field is off to the left... Thanks,Chris when entering new product: existing product:
  6. coolfly

    [Contribution] Linked Products

    Zappo could answer those questions best, but after just spending a day and half trying to get past the errors I mentioned above, I would strongly consider waiting for him to revisit this thread before installing this. I can tell you two things, -I'm pretty sure the errors I had were all related to one problem with the product_types table in the db (fields: type_id, type_color, and type_name)..I tried circumventing them by manually adding the values with phpmyadmin, but the error remained, so I think something's not connecting the dots there. Was getting another undefined column (line 484) error in the 'linked types' part of the store admin, again with those 3 fields...the other options all had drop downs that seemed to work fine. Wish I had the experience to fix them, but not yet. -His new product attributes page looks awesome..very nicely laid out with the different 'option types' available..hope he comes back soon and finishes it. I found something called 'related products' that I'm trying to install now..seems to be similar to this and master products, recently updated and actually has an involved support thread. It would be great to see this one get off the ground though, as it has all the contributions you need, already built in.
  7. coolfly

    [Contrib] Make An Offer

    Well I finally got to contribute something :) I uploaded a full package (v3.1) with the all the modified files for a 2.2RC2a Vanilla Store. Here are the updates I included: -Added all the Modified Files for a clean Install -Added Beginning/End Comments where needed for those files -Fixed Error in 'make_an_offer.php' that caused item and original price not to appear in email offers sent to shop owner. Credit to Shawnm Posted 17 June 2007 - 12:43 PM -Added 'mouseover' note informing customer how to use the direct offer box. Credit to angelstudio54 Posted 18 April 2009 - 05:04 PM -Changed grammatical error in English>make_an_offer.php "Your order has been successfully send.." to "Your offer has been successfully sent.." Again, Thanks to Wheel of Time for this great contribution! Sorry for English only, but I didn't want to insult the Dutch people by trying to edit a php file in their language and make a mess of it. edit: oh yea, you can find it here: http://addons.oscommerce.com/info/3034
  8. coolfly

    [Contribution] Linked Products

    sorry to double post, but I fixed the problem in the admin side, and (of course) it was of my own doing...knocked out a (.) for a comma when pasting the offer variable... however I do have another 1054 when I go to edit/create a product... 1054 - Unknown column 'type_linked' in 'field list' select type_linked from product_types where type_id = '0'
  9. coolfly

    [Contribution] Linked Products

    yea, I'm getting this too, I think type_show_product_as needs to be defined, but I don't know exactly what it's purpose is...something to do with invisible products. This contribution looks really cool, would like to get it working. Also I'm getting a syntax error in the admin side... Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mysite/public_html/admin/categories.php on line 331 line 331 tep_db_query("insert into " . TABLE_PRODUCTS . " (" . $AddSelectSql . ", products_quantity, products_model, products_image, products_price, products_make_an_offer, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id) values (" . $AddInsertSql . ", '" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "' ,tep_db_input($product['products_make_an_offer']) . "', '" . '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "')"; it's a long one..notice I have the 'make an offer' attribute in there, but don't believe that's causing the error. Hope King Zappo returns soon...
  10. coolfly

    [Contribution] Option Types v2

    hi dan...thanks for reply..i had sent you a pm about it, but disregard it. hmm, you using a clean osc store or a template? If you can, hold off on removing for a while...I'll try to figure it out or maybe someone familiar with it will post now that there's more than one of us with problem...seems like a cool mod if working right... Thanks, Chris
  11. coolfly

    [Contribution] Option Types v2

    Dan I get the same errors with either the text field or text area. I'm trying to add the text field in the old 'products_attributes' section as I don't have the text option with the ajax manager. Have you figured out the mistake yet, as I probably have duplicated what you did? edit: just a follow up...i still get the errror (which i have to browse back to get out of) but the text field does appear correctly on the product page. I still would like to get rid of the error though...thanks
  12. coolfly

    Master Products - MS2

    Hi George, I had talked to you earlier in the year about the possibility of slave pop-ups. I see you eventually added it on..AWESOME! I wound up creating a site that was customer friendly but an extreme pain for the admin in the sense that they (make that 'I') have to first make the secondary products as options and then create a separate html page for each of the product descriptions...50 products. Needless to say, weekly price changes take the better part of a day. After doing this for a good part of a year, I'm redoing the site to be easier to maintain...so your contribution is really going to help in this area. One general question...can slave products be set up so that they only add if the master is chosen? Thanks for putting it out, Chris
  13. coolfly

    Linkpoint API Problems

    Hi, I'm using godaddy (haha) and I'm having the (well documented) problem of a blank page a few minutes after hitting the confirm button. I turned on debug and here is the result: at curl_process, incoming data: host = secure.linkpt.net port = 1129 keyfile = /home/content/k/i/n/###/html/catalog/includes/modules/payment/linkpoint_api/****.pem configfile = 10 digit store number ordertype = PREAUTH result = LIVE transactionorigin = ECI ponumber = 1002 taxexempt = Y terminaltype = UNSPECIFIED ip = ip number chargetotal = 1.06 cardnumber = my card number cardexpmonth = 12 cardexpyear = 11 cvmindicator = provided cvmvalue = cvm # userid = 10 name = my name company = address1 = my adress line 1 address2 = city = state = Florida (Broward County) country = US phone = my phone addrnum = my adress line 1 zip = zip code sname = my name again saddress1 = my adress line 1 again saddress2 = scity = my city sstate = Florida (Broward County) szip = my zip scountry = US Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/content/k/i/n/####/html/catalog/includes/modules/payment/linkpoint_api/lphp.php on line 172 items = debugging = true sending xml string: <order><orderoptions><ordertype>PREAUTH</ordertype><result>LIVE</result></orderoptions><creditcard><cardnumber>*mycardnumber*</cardnumber><cardexpmonth>12</cardexpmonth><cardexpyear>11</cardexpyear><cvmvalue>***</cvmvalue><cvmindicator>provided</cvmindicator></creditcard><billing><name>MyName</name><company>*company name*</company><address1>*myadress line 1*</address1><address2></address2><city>*mycity*</city><state>Florida (Broward County)</state><zip>*my zip</zip><country>US</country><userid>10</userid><phone>*my phone*</phone><addrnum>*adress line1 again* terrace</addrnum></billing><shipping><name>****</name><address1>**** terrace</address1><address2></address2><city>*****</city><state>Florida (Broward County)</state><zip>***</zip><country>US</country></shipping><transactiondetails><ponumber>1002</ponumber><taxexempt>Y</taxexempt><terminaltype>UNSPECIFIED</terminaltype><ip>******</ip><transactionorigin>ECI</transactionorigin></transactiondetails><merchantinfo><configfile>*store10digits*</configfile><keyfile>/home/content/k/i/n/****/html/catalog/includes/modules/payment/linkpoint_api/****.pem</keyfile><host>secure.linkpt.net</host><port>1129</port></merchantinfo><payment><chargetotal>1.06</chargetotal></payment> <items> <item> <id>bunch of numbers{don't know their relevance, so won't post them, lol}</id> <description>product name</description> <quantity>1</quantity> <price>295.00</price> </item> </items> </order>
  14. coolfly

    Linkpoint / YourPay module not wokring

    has there been a resolve to the problem mentioned by the OP?
  15. Well, now you can say you don't know of anyone that's tried it successfully :D . I do believe it can be done easily though...just not by me. I was trying to replicate the options_values_price into weight, which I do believe is the key, but there were too many other variables that I don't understand enough, messing me up. I found someone from 2005 that says it would be easy to do, so I sent her a line, no response. probably moved on in life. Too bad, it's really a valuable contribution that would be awesome to have work with this. Oh well, Thanks.
×