Jump to content

loveleaf

Members
  • Content count

    29
  • Joined

  • Last visited

Everything posted by loveleaf

  1. loveleaf

    [Contribution] - USPS Methods

    Why don't the recent versions allow the customer to choose domestic priority flat-rate boxes and envelopes? I have 5.0.1 installed with almost everything working. The check-boxes don't show up in the module settings, so I just commented out the options I don't want. I am unable to get first-class international to display.
  2. loveleaf

    [Contribution] - USPS Methods

    I recently received this email from USPS: Dear Webtools Integrator, On January 2, 2011, USPS will update domestic shipping services and international pricing and product features. For detailed information on prices and new product features, please reference the Federal Register Notice at http://pe.usps.com/FederalRegisterNotices.asp#Jan_2011_Prices <http://pe.usps.com/FederalRegisterNotices.asp> . For a list of the new prices, please reference the Postal Explorer website at http://pe.usps.com/. The information is on the left hand side under "NEW* Jan. 2, 2011 Pricing Information" Price Change updates will be available in the Web Tools testing environment for integrator access on or around December 13. The test environment can be accessed, using your production UserID, via the following URL scheme, host and path: Secure APIs: https://stg-secure.shippingapis.com/ShippingApi.dll Non-secure APIs: http://stg-production.shippingapis.com/ShippingApi.dll Please note that the changes below are intended to be backwards compatible, however, may not be depending on how individual programs are integrated with the APIs. Technical guides, inclusive of the changes below, can be obtained from the USPS Internet Customer Care Center (1-800-344-7779 or icustomercare@usps.com). Web Tools APIs will be affected in the following manner: § All Web Tools APIs with postage prices incorporated will be updated to reflect the price changes § All Rate Calculator API integrators are encouraged to migrate to the latest API versions (RateV4, IntlRateV2): o RateV4 and IntlRateV2 will be the only Rate Calculator API versions to offer the full range of new products and functionality o Rate, RateV2, RateV3 and IntlRate will be retired in May 2011, requiring all integrators to migrate to the latest versions § Domestic Rate Calculator API Changes o New <Container> request enumerations will be added to RateV4 to support the USPS product offerings and prices listed in the Federal Register Notice o New response nodes in Rate, RateV2, RateV3 and RateV4 to support the USPS product offerings and prices listed in the Federal Register Notice o New optional request values in RateV4 to support USPS extra services offerings and prices o New optional response nodes in RateV4 to support USPS extra services offerings and prices § International Rate Calculator API o New response nodes in IntlRate and IntlRateV2 to support the USPS product offerings and prices listed in the Federal Register Notice o New optional request values in IntlRateV2 to support USPS extra services offerings and prices o New optional response nodes in IntlRateV2 to support USPS extra services offerings and prices o New <additionalRestrictions> response value in IntlRate and IntlRateV2 § Express Mail Label and Hold For Pickup Express API o New <Revision> and <Container> request data tags to support the Legal Flat Rate Box o New <Size>, <Length>, <Width>, <Height> and <Girth> request data tags § Delivery Confirmation and Signature Confirmation o New <Revision> and <Container> request data tags to support the USPS product offering and prices listed in the Federal Register Notice § International Label APIs o New <Container> request enumerations will be added to support the USPS product offerings and prices listed in the Federal Register Notice o New <Revision>, <Size>, <Length>, <Width>, <Height> and <Girth> request data tags o New <additionalRestrictions> response value § Customs Forms CN22 and CP72 o New <additionalRestrictions> response value Please contact the USPS Internet Customer Care Center with any questions or concerns at 1-800-344-7779 or icustomercare@usps.com. - Web Tools Program Office Does this mean my shipping calculations are going to stop working on the 2nd? Thanks, Scott
  3. Hello everyone, I just found a bug that has me stumped. If a customer chooses a delivery address that is different from the main address on their account, and then pays by paypal, the correct delivery address shows up on the paypal payment, and even shows correctly in the order confirmation email, but it shows the wrong address when I pull up the order in the admin area (and then I ship it to the wrong place.) Now that I am aware of the bug, I can get the correct address from paypal, but I've already sent a few orders to the wrong address. :( As far as I am aware, this only happens when a customer checks out with paypal. If anyone could point me in the right direction so I can track down the source of this problem, I would really appreciate it. Thanks, Scott
  4. loveleaf

    Header Tags for novices

    Well, I'm paying someone to do it for me right now, so I'll let you know what they figure out.
  5. loveleaf

    Header Tags for novices

    Hey guys, I have this contribution working fine for products. The title tag works fine for categories also, but my index, and category pages (and I'm sure others) have no keywords or description. Has anyone set this up so they are able to define custom category tags from the admin side? I'm hoping someone can point me in the right direction. Thanks! Scott
  6. Thanks so much for the help. The first fix did do the trick. I'm not sure why it didn't work the first time I tried. - Scott
  7. I am having this problem with both links and images. I applied both modifications, and my problem with the images was solved, but still, when I try to create a link, it strips the url, and adds index.php. Every time I modify the page, it adds another 'index.php' so I end up with a url that looks like this: <a href="index.php/index.php/index.php/index.php/conditions.php">Terms and Conditions</a> Any help would be greatly appreciated. Thanks! Scott
  8. Hey Everyone, I sell herbs and use the attributes to offer volume discounts for bulk herbs. Each attribute adds to the base price. I noticed that the specials feature only discounts the base price. Is there any contribution out there that will make the discount apply to the total price? Thanks for your help, Scott
  9. loveleaf

    Linkpoint API Problems

    What should happen after using one of those test CC numbers if everything is working perfectly?
  10. loveleaf

    Linkpoint API Problems

    I am having the exact same problem.. has anyone else dealt with this?
  11. I'm not sure how that will help. I want to be able to add a special discount for a specific product, and have it apply to the total price including all attributes. Am I misunderstanding you?
  12. loveleaf

    Header Tags for novices

    Regarding this line of code in /modules/sts_inc/general.php:: $sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') . ' - ' . $header_tags[title_tag] : TITLE . ' - ' . HEADING_TITLE; Right now it shows [sTORE NAME - CATEGORY - SUBCATEGORY] when browsing categories, and [sTORE NAME - CATEGORY - SUBCATEGORY - PRODUCT TITLE] when viewing a product. Is there any way I can just display [sTORE NAME - PRODUCT TITLE] on the products page? I don't really understand the funky if-then action going on in that line of code, but it seems like might be easy. Thanks for the help!
  13. loveleaf

    Header Tags for novices

    If possible, could someone delete my last couple posts? Regarding STS integration:: I have it working much better now. I had to comment out the part in application_top that adds the category to the title tag. Here is what I have for includes/sts_inc/general.php: // Header Tags for novices w/STS v4.3.3 BOF $sts->template['headertags']= "<title>"; $sts->template['headertags'] .= (strlen($breadcrumb_tags->trail_tags('')) > 0) ? TITLE . ' - ' . $breadcrumb_tags->trail_tags(' - ') . ' - ' . $header_tags[title_tag] : TITLE; $sts->template['headertags'] .= "</title>\n"; $sts->template['headertags'] .= "<meta name=\"description\" content=\""; $sts->template['headertags'] .= htmlspecialchars($header_tags[desc_tag]); $sts->template['headertags'] .= "\">\n<meta name=\"keywords\" content=\""; $sts->template['headertags'] .= htmlspecialchars($header_tags[keywords_tag]); $sts->template['headertags'] .= "\">\n"; // Header Tags for novices EOF It seems to be working pretty well.
  14. loveleaf

    Header Tags for novices

    I have tried all of the ideas in the forum, but I still haven't gotten it perfect yet. I just fiddled around with it some more and I think I know whats wrong.. or.. what I don't understand. Why is this: $header_tags[title_tag]; Returning both the category and the title tag? The category is "bulk herbs" and the product is "Butea superba." $header_tags[title_tag]; returns "bulk herbs butea superba" If I can figure that out, I might be able to get this to work. Thanks so much for your hard work, Ken. I'll try to give back by sharing my experience with integrating these two scripts, once I get it finished.
  15. loveleaf

    Header Tags for novices

    Hello, I am trying to integrate this with STS. None of these ideas are quite doing the trick. I'd be happy to paypal a donation to anyone who is familiar with integrating these two contributions, for some personalized help with this. Thanks, Scott
  16. Hello Amigos, Everything with this contribution was working fine, but something must have changed.. When I click the image, nothing pops up. My server is not logging any errors. I've tried it on two computers so far. The site is http://www.rootworkherbs.com I'd really appreciate it if anyone could point me in the right direction to get this fixed. Thanks! Scott
  17. loveleaf

    Store Mode (Open | Closed | Maintenance)

    Thanks for the reply. I wish I was skilled enough with PHP to really contribute to the development of these things. I'll try to integrate them tonight. I'll let you know how it goes.
  18. loveleaf

    Store Mode (Open | Closed | Maintenance)

    I am using STS. Am I going to run into problems when installing this? I think maintenance mode might not work correctly. Thanks for the help. - Scott
  19. I have everything installed, but I'm getting an error on categories.php. Despite this error, everything seems functional. Warning: Variable passed to each() is not an array or object in /home/oarfegcr/public_html/new/admin/categories.php on line 345 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/oarfegcr/public_html/new/admin/categories.php on line 348 Does anyone have a clue how I can fix this? Thanks!
  20. loveleaf

    [Contribution] - USPS Methods

    Hey Guys, The only problem I'm having now is that neither domestic nor international first-class is showing up as an option. Is anyone else having this problem? Do you think this is due to the problems USPS is apparently still having, or should I be digging through my code? Thanks for the help! - Scott
  21. Hello everyone. I run a shop selling herbs. Most product weights are set at 0.06 (about one ounce), but if a customer chooses, for example, the 4 ounce option, I wanted to have this reflect in the product weight, since I use the USPS module to calculate postage. I just installed the "Add weight to product attributes" contribution. It seemed to be working correctly, until I changed the product quantity. It seems that it multiplies the original product weight, and then adds the additional weight defined in the attributes, on top. No good! I don't know much PHP, but with enough time I can solve many problems like this myself. I'm at least hoping someone can point me to the right file where these calculations take place. Any help would be appreciated. Peace, Scott
  22. loveleaf

    Add Weight to Product attributes

    turns out, v0.2 of "add weight to product attributes" is missing a file. classes/shopping_cart.php in v.0.1 works fine. thanks for the help.
  23. loveleaf

    Add Weight to Product attributes

    It seems like its something in here, but I can't get anything to work! It just adds the total attribute weight on top of the product weight. It should be Product weight + (total attribute weight * quantity) Please help! -- // BOF add-weight-to-product-attributes with UPSxml mod // determine total weight of attributes to add to weight of product $attributes_total_weight = 0; if (isset($this->contents[$products_id]['attributes'])) { reset($this->contents[$products_id]['attributes']); $where = ' AND (('; while (list($option, $value) = each($this->contents[$products_id]['attributes'])) { $where .= 'options_id=' . $option . ' AND options_values_id=' . $value . ') OR ('; } $where=substr($where, 0, -5) . ')'; $attribute_weight_query = tep_db_query('SELECT options_values_weight FROM ' . TABLE_PRODUCTS_ATTRIBUTES . ' WHERE products_id=' . (int)$prid . $where); if (tep_db_num_rows($attribute_weight_query)) { while ($attributes_weight_array = tep_db_fetch_array($attribute_weight_query)) { $attributes_total_weight += $attributes_weight_array['options_values_weight']; } } // end if (tep_db_num_rows($attribute_weight_query)) } // end if (isset($this->contents[$products_id]['attributes'])) // EOF add-weight-to-product-attributes mod $products_array[] = array('id' => $products_id, 'name' => $products['products_name'], 'model' => $products['products_model'], 'image' => $products['products_image'], 'price' => $products_price, 'quantity' => $this->contents[$products_id]['qty'], 'weight' => $products['products_weight'] + $attributes_total_weight, 'final_price' => ($products_price + $this->attributes_price($products_id)), 'tax_class_id' => $products['products_tax_class_id'], 'attributes' => (isset($this->contents[$products_id]['attributes']) ? $this->contents[$products_id]['attributes'] : '')); } } return $products_array; }
×