Jump to content

rickcj

Members
  • Content count

    22
  • Joined

  • Last visited

1 Follower

About rickcj

  • Birthday 11/14/1979

Profile Information

  1. Hi, I'm creating a uk based store that is selling items with the different vat rates (zero rated, reduced 5% and standard 17.5%) I tried adding another tax class and rate but when i added the 5% class to a product the product price (showing vat) is correct but the checkout total does not show vat at all? Has someone else come across this (and managed to get it working?!) Any help with this would be gratly recieved. Thanks, Chris
  2. rickcj

    PDF Catalog v.1.5

    Hi, I fixed this by changing line650 in pdf_catalogue.php in admin from: $description=rtrim(strip_tags($print_catalog_array[$j]['description'])); to: $description=rtrim(strip_tags(str_replace(' ', '', $print_catalog_array[$j]['description']))); Hope this helps. Chris
  3. rickcj

    PDF Catalog v.1.5

    Hi, I've seen this asked a couple of times but can't seem to find an answer! I have products duplicated in categories so that when the pdf catalogue is generated it contains the products more than once. Is it possible for the duplicates to be shown only once? What i am ideally after, and if it doesn't come up soon i may have to start writing it, is a pdf catalogue sorted by maunfacturer. Is it possible/fairly easy to modify this contrib to using manufacturers instead of the categories?? Thanks Chris
  4. Hi all, I'm not sure if this has been requested or even modified already, but i thought it rather silly that you should be able to proceed directly to checkout if the user trys to click the 'my account' link. Below is what i did to version 0.70 to make it include the non PWA login boxes only when clicking through the 'my account' link. edit catalog/login.php on approx line 150(ish) replace: if (PWA_ON == 'false') { require(DIR_WS_INCLUDES . FILENAME_PWA_ACC_LOGIN); } else { require(DIR_WS_INCLUDES . FILENAME_PWA_PWA_LOGIN); } with: if (PWA_ON == 'false') { require(DIR_WS_INCLUDES . FILENAME_PWA_ACC_LOGIN); } else { if ($PWA == 'off') { require(DIR_WS_INCLUDES . FILENAME_PWA_ACC_LOGIN); } else { require(DIR_WS_INCLUDES . FILENAME_PWA_PWA_LOGIN); } } edit catalog/account.php on approx line 17(ish) replace: tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); with: tep_redirect(tep_href_link(FILENAME_LOGIN, 'PWA=off', 'SSL')); Hope this is of some use. Thanks for this Very useful contrib. Chris
  5. Hi, I also have this same problem, could somebody please explain how to fix this, i don't know how or where to pass the 'suEXEC' security?! Thanks Chris
  6. rickcj

    WYSIWYG HTMLArea v1.7

    Hi, I had this problem and this is now sorted, however i have a problem which i think relates to SEF link transformer and MS2 WYSIWYG HTMLArea 1.7. I have had to rename all the .html files in the HTMLArea contrib to .php otherwise i get the popup iframe with a 404 error (because the SEF is changing the links to a .php extension). Everything now works except for the image selection, when i click on an image i get a javascript error: I click 'yes' to continue running scripts and the image appears in the preview, but the selected image url never changes from http:// I can upload images and (i think) all functions except for specifying the image to use work. The only other thing i notice is that i get a message about 'do you want to display the nonsecure items when the page loads and when i click the 'Insert Image' button. I would be grateful if anyone has tried these two contribs together, please let me knwo how you got on, also if someone can tell me how to just turn the whole image part of this contrib off, that would be good enough for now? Please help! Thanks in advance Chris
  7. Hi, I just came across this problem, the instructions are WRONG! Looking at how old these posts are i should think this is sorted by now, but just incase anyone else is getting this issue more recently (as i did), here is what i found to be the problem:- It should say to replace:- } else { // create category/product info $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>'); $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> with:- } else { // create category/product info $heading[] = array('text' => '<b>' . EMPTY_CATEGORY . '</b>'); $contents[] = array('text' => TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS); } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; // Add neccessary JS for WYSIWYG editor of category image if($action=='edit_category'){ if (HTML_AREA_WYSIWYG_DISABLE != 'Disable'){ echo ' <script language="JavaScript1.2" defer> var config = new Object(); // create new config object config.width = "250px"; config.height = "35px"; config.bodyStyle = "background-color: white; font-family: Arial; color: black; font-size: 12px;"; config.debug = ' . HTML_AREA_WYSIWYG_DEBUG . '; config.toolbar = [ ["InsertImageURL"] ]; config.OscImageRoot = "' . trim(HTTP_SERVER . DIR_WS_CATALOG_IMAGES) . '"; editor_generate("categories_image",config); </script> '; } } } ?>
×