Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

borhunt

Pioneers
  • Posts

    9
  • Joined

  • Last visited

Posts posted by borhunt

  1. I am running osc 2.3.1.

     

    I have installed the eProcessingNetwork ADC 1_1 package.

     

    When I click on the Process Payment button in the cart I get this error message.

     

    "The first four digits of the number entered are: . If that number is correct, we do not accept that type of credit card. If it is wrong, please try again."

     

    It appears the data gets lost when checkout_payment_ext.php calls to validate the card number again. The card is already verified in checkout_payment.php and this works fine the data is there.

     

    This seems like something simple but I am unable to detemrine why the vars data does move forward.

     

    help ?

     

    Thanks

     

    Scott

  2. While the paragraph <p> may be necessary for general text descriptions, it does not work well with the Specifications as they are used in a table type display. This really messes up the formatting.

     

    Such as:

     

    Weight: 125 lbs

    Color: Blue

     

    etc.

     

    I have actually modified the Product Listing Add On to display a real table. And fixed some other bugs with this code.

     

    Scott

  3. @@thejudge99

     

    Jules,

     

    You mentioned these changes in categories.php. In fact the original 2.3.1 code has these changes. When I installed ProductSpec it removed them. Once I merged the old and new files, the problem I originally mentioned went away. The changes you mentioned in product_tabs.php did not match the code and so I made no changed.

     

    Now I have another issue. I have the ckeditor installed and it is used to edit the Product Specification description fields. It adds the "<p>" paragraph formatting around the text and this messes up the specifications tab. I found that if I clic on the "source" button in ckeditor and remove the html formatting this now works fine. Is there a way to disable the ckeditor for these Product Specification fields or make the ckeditor not add formatting to text on specific fields ?

     

     

    in admin/categories.php

     

    change

    'products_description' => addslashes( tep_db_input( $_POST['products_description'][$language_id] ) ),

    to

    'products_description' => tep_db_prepare_input( $HTTP_POST_VARS['products_description'][$language_id] ),

     

    and in includes/modules/products_tabs.php

     

    Thanks

     

    Scott

  4. I must not have the cdeditor installed correctly. And yes the text did have specifications within. This was just test text I dumped into the field. I thought I saw a code file where it filtered out these line feeds, etc. but cannot remember which file it was.

     

    I do have the specifications working. Thank you. Nice add on.

  5. I am having issues with the html code in the product descriptions edit box. I am using OSC 2.3.1 with the Product Specifications add on.

     

    When I paste html code into the product description edit box, save, then return to the product, this is what is looks like. It adds /r /n and the / Any quick comments about which file I screwed up ?

     

    Thanks

     

    <head>\r\n<style type=\\\"text/css\\\">\r\n.style1 {\r\n padding: 2px;\r\n border-style: solid;\r\n border-width: 1px;\r\n width: 160px;\r\n}\r\n.style2 {\r\n padding: 2px;\r\n border-style: solid;\r\n border-width: 1px;\r\n width: 460px;\r\n}\r\n.style3 {\r\n border-style: solid;\r\n border-width: 1px;\r\n}\r\n.style4 {\r\n border-style: solid;\r\n border-width: 1px;\r\n width: 620px;\r\n}\r\n</style>\r\n</head>\r\n\r\n\r\n<p>some text<p>\r\n<br>\r\n<br>\r\n\r\n<table cellspacing=\\\"0\\\" cellpadding=\\\"0\\\" class=\\\"style4\\\">\r\n<caption class=\\\"style3\\\">Product Specifications</caption>\r\n<tr>\r\n<td class=\\\"style1\\\">Description</td>\r\n<td class=\\\"style2\\\">Ruger MKIII 22-45 LITE 22LR 4.4\\\" AS 3900 ALUMINUM UPPER / THREADED</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Model</td>\r\n<td class=\\\"style2\\\">Mark III 22/45 Lite</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">UPC</td>\r\n<td class=\\\"style2\\\">736676039005</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">xxx</td>\r\n<td class=\\\"style2\\\">Pistol</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Type</td>\r\n<td class=\\\"style2\\\">Pistol</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Action</td>\r\n<td class=\\\"style2\\\">Single</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Caliber</td>\r\n<td class=\\\"style2\\\">.22 LR</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Barrel Length</td>\r\n<td class=\\\"style2\\\">4.4”</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Overall Length</td>\r\n<td class=\\\"style2\\\">8.5”</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Capacity</td>\r\n<td class=\\\"style2\\\">.10+1</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Safety</td>\r\n<td class=\\\"style2\\\">Left</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Sights</td>\r\n<td class=\\\"style2\\\">Adjustable</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Finish</td>\r\n<td class=\\\"style2\\\">Gold Anodize</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Frame</td>\r\n<td class=\\\"style2\\\">Polymer Frame</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Grips</td>\r\n<td class=\\\"style2\\\">Hogue Black Rubber Grip Panels</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Weight</td>\r\n<td class=\\\"style2\\\">22.8 Oz.</td>\r\n</tr>\r\n<tr>\r\n<td class=\\\"style1\\\">Additional Info</td>\r\n<td class=\\\"style2\\\">Aluminum Upper</td>\r\n</tr>\r\n</table>\r\n<br><br>\r\n

×
×
  • Create New...