Jump to content

o_cnick

Members
  • Content count

    25
  • Joined

  • Last visited

  1. o_cnick

    ULTIMATE Seo Urls 5 - by FWR Media

    OK thank you for the prompt reply. I was looking through several threads, and there may have been some confusion on my end. Thanks again. Great contrib btw, look forward to the new release, and very much appreciate your efforts.
  2. o_cnick

    ULTIMATE Seo Urls 5 - by FWR Media

    The above was quoted from a previous release, and I am having trouble locating instructions on how to perform similar adjustments for the newest release. I apologize if I have missed something in this thread, I have searched several different ways but have yet to find a solution or direction. I recently installed "ULTIMATE_Seo_Urls_5_r141_stable", and am currently using the Standard rewrite type. I would like to have the product model included in the URL for my product_info pages. Is this now done via the modules/Usu_Products.php? And do you have recommendations on how to best accomplish this? I didn't see anywhere to just change the 'tags' like listed above, and appears I would have to modify the Usu_Products.php to accomplish this. Thanks for any guidance.
  3. o_cnick

    Header Tags SEO

    Hi Jack, Just wanted to say thanks for this contribution. I've been trying this out for a few days with the all the different options you have available with it. One feature that I ended up botching into the code myself (in admin/header_tags_fill_tags.php) is for products to include their 'products_model' in the header tags. The industry this site is for is heavy on searching by part numbers or item numbers, and I wanted to have it displayed in the title tag for each product that may return in search results. I was just curious if you had considered this feature before, or may possibly add it in the future. Mine is currently functional with my settings, but I've not tested it under all conditions and don't have any options for it in the admin pages.
  4. o_cnick

    Paypal Website Payment Error

    In "includes/modules/payment/paypal_standard.php" : function process_button() { global $customer_id, $order, $sendto, $currency, $cart_PayPal_Standard_ID, $shipping; $process_button_string = ''; $parameters = array('cmd' => '_xclick', 'item_name' => STORE_NAME, 'shipping' => $this->format_raw($order->info['shipping_cost']), 'tax' => $this->format_raw($order->info['tax']), 'business' => MODULE_PAYMENT_PAYPAL_STANDARD_ID, 'amount' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - $order->info['tax']), 'currency_code' => $currency, 'invoice' => substr($cart_PayPal_Standard_ID, strpos($cart_PayPal_Standard_ID, '-')+1), 'custom' => $customer_id, 'no_note' => '1', 'notify_url' => tep_href_link('ext/modules/payment/paypal/standard_ipn.php', '', 'SSL', false, false), 'return' => tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'), 'cancel_return' => tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'), 'bn' => 'osCommerce22_Default_ST', 'paymentaction' => ((MODULE_PAYMENT_PAYPAL_STANDARD_TRANSACTION_METHOD == 'Sale') ? 'sale' : 'authorization')); Is it possible to use Paypal IPN for Website Payments Standard orders? We want to use Payments Standard at first because it is low cost, and does not require the customer to have a Paypal Account. I'm not terribly concerned with the item name showing our store, as the customer will receive order notification from oscommerce as well, with detailed order info. But it would be nice for the paypal invoice to also reflect the same detail.
  5. o_cnick

    [Contribution] STS v4

    I have STS v4 installed on our site, and have a couple questions about the sequence of file processing (include files specifically) using STS. It appears that application_top and other include files are not processed until after the template file is loaded. I am trying to create if/else statements in the template file using php variables like $cPath, $current_category_id, etc. But when I use "isset" to test the output, it doesn't even seem like those variables are set at the time I try to call them. After browsing the STS files, it looks like the index.php is stripped of all code prior to the <!-- body //--> tag where all of the include files are called. Is anyone familiar with how and when STS re-includes those files? At the moment I am trying to call these variables inside the body tag parameters to prevent images used in our catalog root from preloading on every page. I suppose I could include my own script with custom variables to get the same info, but I'd rather not double up the code since these variables are all I need. Does anyone understand what I am trying to accomplish, what may be the problem, or have any suggestions?
  6. I really appreciate your help Justin, your code works perfectly. The problem I was having was due to my host. They moved us to a different server (without notice), and apparently the new servers have tighter settings, i.e. blocking outbound traffic. Now I have to access the DHL rates through our host's "secure proxy server". Luckily, adding 1 line with the cURL proxy function to your existing code was all I had to do! I should've checked with our host sooner. The problem we had didn't make any sense, because nothing really changed on the site from our end, and all functions still worked fine on my test server (turns out my test server doesn't have same settings as our live server).
  7. Hello Justin, We are also using WWEXP as our freight forwarder. I have been attempting to merge the original Airborne/DHL module with your custom getQuote() function. I am getting several issues with my tests, and I was wondering if you could tell me the line numbers that you replaced with this code. Was it solely that getQuote function that was changed, or are other lines replaced as well? Also, did you still have to setup the DHL System ID, Password, and Shipping Keys with DHL? I was assuming this step could be bypassed since we are communicating with the WWEXP site. Any help would be much appreciated. Thanks, Nick
  8. o_cnick

    Live Support - Which one???

    We are using the Crafty Syntax live help for our store. Easy to install, works great, and some nice additional features that we didn't expect. http://www.craftysyntax.com
  9. Yep, I clear the URL cache every time I change something. One other strange part of this, is that I had changed that category name before I even installed this SEO contrib. I don't know where it is pulling that old name from.
  10. Doh, no post edit feature. My problem can be resolved by disabling the "Add parent category to URL". But I would like to keep this feature enabled, since it makes the URLs more specific to the content of the page.
  11. 1st off, thanks for everyone that is supporting this thread, very helpful. I am seeing a very strange URL output for my 2 root categories, which neither should have a parent category. It is showing the parent category for these 2 categories as a category name that I have changed weeks ago, and should no longer exist! Here is a link to show what I mean, site is not live, still in testing: http://www.o-cnick.info/test4/catalog The links for the 2 main categories "Parts" & "Whole Goods" are being displayed with a parent category like this: catalog/jandy-valve-actuator-kits-parts-c-21.html That category name "Jandy Valve Actuator Kits" was edited weeks ago and changed to "JVA Parts - 2440 Style" and was never a "parent" category. It's path was Parts -> Jandy -> JVAs -> Jandy Valve Actuator Kits. All the links work and go to the right places, but I do not want that very strange URL output for my 2 root categories to stay. Any ideas on what could cause this?
  12. o_cnick

    Category Descriptions 2.0

    Ok, forget about the 1st question, not an issue anymore. But my second question I am still interested in, as I have included HTML output for many of the categories (not just a picture like my above examples). So now I am growing a huge descriptions.php file. I am not sure of the most efficient way (for server load, and load speed), of loading a unique description for each category. As of now I am writing all of the HTML in my descriptions.php like the following code: if ($category['categories_name'] == 'Clormatic III') { <!--HTML code here--> } Alternative is to call an external php file that specifies HTML output for each category description: if ($category['categories_name'] == 'Clormatic III') { require(DIR_WS_INCLUDES . "clormaticiiidesc.php" } So my question is whether it would be faster to: A. Include all of my HTML output in 1 descriptions.php file, which is a long series of "if" statements. or B. Call external php scripts for HTML output, which would require loading another file. Any suggestions would be awesome!
  13. I am using contrib Category Descriptions 2.0: http://www.oscommerce.com/community/contributions,4294 It has been working very well for me, but I recently ran into a situation where I have multiple categories with the same categories_name. Since this contrib prints the description based on category name, the same description is printed for all categories with the same name. I realize I can rename my categories to be more specific, but I was hoping someone could point me towards using the categories_id, instead of categories_name to determine the current category the customer is viewing. For example, standard code: if ($category['categories_name'] == 'Clormatic III') echo tep_image(DIR_WS_IMAGES . 'CM3.JPG', 'Clormatic III'); But say I have a separate category in a different location, I'd want to specify the category I want the description to be displayed in. I tried the following with no success: if ($category['categories_id'] == '27') echo tep_image(DIR_WS_IMAGES . 'CM3.JPG', 'Clormatic III'); Is anyone familiar enough with this contribution to point me in the right direction? My second question is more along the lines of general PHP knowledge, which I have little of :P . My site is going to have 5000+ Products by the time we are finished, and tons of categories for these products. My descriptions.php is already at 50kb with 20+ descriptions added. Will this greatly affect the speed of my page loads if the server has to search through 100+kb of code to find the category it is looking for? At the moment, I have all of the HTML output included in the descriptions.php. Would it be more efficient to call for exterior scripts to run once the server has found the category in descriptions.php? In other words, have the HTML output located in separate files for each category, and call the file from descriptions.php. Thanks for your time, Nick
×