Latest News: (loading..)

itscoldoutside

Members
  • Content count

    12
  • Joined

  • Last visited

2 Followers

About itscoldoutside

Profile Information

  1. For those of you who have both Header Tag Seo AND the Extra Product Fields contributions installed and who want to make use of the Keyword functions from both contributions: In catalog/includes/header_tags.php Around line 957 find: echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '" >'."\n"; Directly above add: // Begin EPF Keywords Support $keywords = array(); foreach ($epf as $e) { $mt = ($e['uses_list'] && !$e['multi_select'] ? ($pname[$e['field']] == 0) : !tep_not_null($pname[$e['field']])); if ($e['keyword'] && !$mt) { if ($e['uses_list']) { if ($e['multi_select']) { $values = explode('|', trim($pname[$e['field']], '|')); foreach ($values as $val) { $keywords[] = tep_output_string(tep_get_extra_field_list_value($val)); } } else { $keywords[] = tep_output_string(str_replace(' | ', ', ', tep_get_extra_field_list_value($pname[$e['field']], $e['show_chain']))); } } else { $keywords[] = tep_output_string($pname[$e['field']]); } } } if (!empty($keywords)) // End EPF Keywords Support Around line 960 find: echo ' <meta name="Keywords" content="' . $header_tags_array['keywords'] . '" >' . "\n"; Change to: echo ' <meta name="Keywords" content="' . implode(', ', $keywords) . ',' .$header_tags_array['keywords'] . '" >' . "\n"; Laslty, you'll want to MAKE SURE in catalog/product_info.php your meta header tags are those from Header Tags SEO and NOT those from EPF... They should look like this (or similar): <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <?php /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php } /*** End Header Tags SEO ***/ ?> There you go, now you will have keywords from both contributions included in your meta! Just be sure to set your EPF values to something meaningful or else you will just shoot yourself in the SEO foot. Cheers.
  2. Does anyone know how to setup OSC to calculate taxes properly for local deliveries within the province? In Manitoba we only charge GST 5% on delivery, not GST 5% & PST 7%. I've managed to get taxes working based on the information in this thread, though for the life of me, cant get OSC to not add the combined 12% to the order. Ie, it should charge the full 12% on products, 5% on delivery, and then add the two together. Thank you in advance for your help, ive been mulling over this for months. Thank you, Iain
  3. Good afternoon, I've got the contrib installed with nearly everything working and blended the way i'd like it to be. The one exception being the grid/rows option, i can't seem to get it working. The contrib simply defaults to the rows. I hate rows :P Any idea what code is missing? Take a look at thecitywidestore . ca Thanks you, Iain
  4. Never mind, i thought i had it sorted out... But all ive done is discover the actual issue. In admin, if the default page settings are filled in, individual title details do not work at all. If however, i delete text from the default title field and then start selecting options for Header Tags to generate the titles for product_info.php then all but one (model number) fail to work. Ive tried any number of combinations. Basically the titles for the individual products read as follows "c123.4124525 - Stoves" When i am wanting them to say "Frigidaire Stove - c123.4124525" OR Manufacturer - Type - Model Im stumped.
  5. Looked it over in winmerge, 3 times. Couldnt find any descrepencies outside of the <h1> tag which i left out as per my notes in the install doc. I added THAT back in however. Im still stumped about the page titles not working on product info.php I tried removing the additional images code all together, still, Header Tags is not producing titles for this file. Any ideas? ***************************************************** EDIT: It works. :) Just had to flipflop some code, quick fix. Though (and forgive me if this is by design) header tags is not accepting the title, meta desc/keyword settings in admin if the global defaults are set. Is this how it is supposed to work? Thanks
  6. Thanks Jack, I'll give it a whirl and see what happens. This install is beyond heavily modified haha, with that being said, its amazing my shop works at all let alone with no errors in the front or back end. Thanks again,
  7. Hi, ive gone through the installation and everything seems to be working except for the tags on product_info.php For some reason, the page title is just the category name Example: 'Stoves' despite the changes and settings have being made in the admin. Below is the code from product_info.php Any help would be greatly appreciated! I tried posting the entire code from the file, but this board wouldnt let me do it. <?php /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> // <!-- begin Extra Product Fields //--> <meta name="DCTERMS.modified" content ="<?php echo $datemod;?>"> <title><?php echo TITLE . ': ' . tep_output_string_protected($pname['products_name']); ?></title> <meta name="Description" content="<?php echo tep_output_string($pname['products_name']); ?>"> <?php $keywords = array(); The installation says to have the code read <?php /*** Begin Header Tags SEO ***/ if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php } /*** End Header Tags SEO ***/ ?> Though i also had the additional images contrib installed so i modified the code accordingly. Though the title tags dont seem to function as they should. See the problem at thecitywidestore.ca Thanks!
  8. I had the same problem, the above solved it for me. Thanks!
  9. Got it installed... Though it took me 7 times (fresh installs) to get it done. Slow process to make sure nothing is being overwritten. While everything appears to be functioning, i have this one issue which i am not sure where to find the solution to. Additional image popups do not load anythign when clicked (also, the additional image is the FULL image size merely scaled... the original product image is resized properly with a small file size etc), the lightbox presents itself and just 'loads'. Under closer examination, the url to the image for which is to be included in the pop up is as follows: http://www.thecitywidestore.ca/images/ As you can see, the 'click to expand' link is pointing to the image folder itself. Any ideas???? What did i miss? Thank you! (Please help)
  10. Ok, so i remerged everything starting from scratch... (Another fresh install as well). This time there is no error on line 76 and the front end is loading, at least some what. The problem now is the layout of the store is a total mess and only gets worse when i click into one of the prepopulated test products... www.citywideappliance.ca/e-store Any ideas?
  11. Bit of an update on my issue, or rather some clarification. I just wiped the store, installed a fresh copy of OSC 2.2rc2 and then before making any changes outside of general configuration (store name etc) i installed this module. Once again, everything in the backend is working fine and the module appears to have been installed correctly. Front end issues persist and am stuck with the same error as mentioned above. As the installation guide is somewhat vague in regard to how to merge the files using windif what i did exactly is as follows: Compared the files in the module against those on my server, merged the two and uploaded again to the server. Did i do something wrong? Outside of the above, im not sure what else to do. Thank you in advance for your help here!!
  12. Hi, im having some trouble installing this module... Ive followed the steps and have tried this installation several times now each time with the same result. Essentially i am able to get the options in the admin/back-end to show up correctly complete with the 3 upload boxes for the various images. My problem is after merging the files from teh installation package with those of which i already had (on the server), once i upload the new files to my shop i start getting errors on the front end (none on the back end)... specifically the following: ______________________ Warning: require(includes/classes/logger.php) [function.require]: failed to open stream: No such file or directory in /path_to/includes/application_top.php on line 76 Fatal error: require() [function.require]: Failed opening required 'includes/classes/logger.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /path_to/includes/application_top.php on line 76 ______________________ Im just not sure how to resolve this... I checked my original installation and i DID have a file called logger.php located exactly where it is being called. Any ideas??? Im running OSC v 2.2rc2 Thank you in advance, Iain