Jump to content

ianric

Members
  • Content count

    373
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ianric

  1. ianric

    [Contribution] Tabbed Product Pages

    Hi Starting to feel like a spammer :D Managed to solve the blue scroll bars with help from Google. The scroll bar colours are defined in webfxlayout.js I just commented out the if (ie && window.attachEvent) { statement and all is OK. Ian
  2. ianric

    [Contribution] Tabbed Product Pages

    Hi again I have managed to get the layout the way I want it but I want the content dynamic. In the image, all the info to the right of the label image is in the database but I can't get the info out. I know about mysql select and php and have tried copying examples from the main php files into the description tabs but nothing seems to work. Hope someone can help me Ian
  3. ianric

    [Contribution] Tabbed Product Pages

    Hi again Solved it!! Just needed to change the rgb values to #html values in the css. Scroll bar is still light blue tho but only in IE, Firefox is OK. Great contrib Ian
  4. ianric

    [Contribution] Tabbed Product Pages

    Hi Just installed the contrib and all is OK but does anyone know how to change the colours of the tabs and border from blue. Also the vertical scroll bar in IE changes to the same colour of blue. I have edited the tab png files in Paintshop Pro and changed the border to be red but nothing changes when I re-upload the images. TIA Ian
  5. ianric

    Featured 1.5

    Hi I have installed this today and it works great but I have a slight prob. As a test I have added 11 featured products, limited the products to 9 in Admin and these are displayed on my main page. The prob comes in when I pick on the featured products hyperlink, the products are listed but all 11 are in the list. I'd like to set all products as featured and just have the 9 products displayed on both pages. Many thanks ian
  6. ianric

    Country-State Selector

    Thanks Steve. Ian
  7. ianric

    Country-State Selector

    hi Steve I've fixed the 1st prob and that now refreshes OK. For the shipping part, doh!! didn't even occur to me, still ongoing. I'll also try your suggestion further down when my brain isn't as fried. The 3rd prob is fixed even tho it seemed to work. A related question. Is it possible to make the country & state lists a default size instead of fitting to the text inside. If I set the country to USA, for example, the states box expands to fit the text and it screws the layout. many thanks Ian
  8. ianric

    Country-State Selector

    Hi Stevel Thanks for looking. I'll have a look tomorrow. Many thanks Ian
  9. ianric

    Country-State Selector

    Oops! That should be www.icr-records.co.uk/oscommerce Cheers Ian :blush:
  10. ianric

    Country-State Selector

    Stevel here is the url www.icr-records.co.uk Add an item to the cart and pick checkout. The FEC "problem" page kicks in then. Cheers Ian
  11. ianric

    Country-State Selector

    Hi Stevel Thanks for the reply. I've redone the coding part and experimented. The form in the FEC contrib is split in half. the left half is for the billing addy and the right is for the shipping addy. This column also has a checkbox to copy the billing info to the shipping info. if I change the country drop down on the billing side first I get the error at 309 <script type="text/javascript"> function refresh_form(form_name) { form_name.action.value = 'refresh'; //this is 309 form_name.submit(); return true; } </script> If I start from name going down all is OK, the states don't refresh by country at this stage, I pick the checkbox to copy the info to the shipping side and ALL the data apart from state is transfered. I get an error here at line 286 state.value is null or not an object function ShipToBillPerson(form) { if (form.copy.checked) { InitSaveVariables(form); form.ShipFirstName.value = form.firstname.value; form.ShipLastName.value = form.lastname.value; form.shipcountry.value = form.country.value; //form.shipcompany.value = form.company.value; form.ShipAddress.value = form.street_address.value; form.shipsuburb.value = form.suburb.value; form.ShipCity.value = form.City.value; form.shippostcode.value = form.postcode.value; form.shippingstate.value = form.state.value; //this is line 286 //form.ShipState.selectedIndex = form.state.selectedIndex; //form.ShipConfirm.checked = form.BillConfirm.checked; } else { Hope this makes sense and is easy to follow. Cheers Ian
  12. ianric

    Country-State Selector

    Hi I am trying to integrate this with FEC and having probs with the FEC create_account2.php file. That file shows 2 address forms side by side. I have got the drop downs populated but when I select from the list, the page doesn't refresh and I get the yellow triangle, bottom left, saying "line 309 char 4 action is null or not an object". I have managed to fix other probs so if someone could point me in the right direction it would be appreciated. Many thanks Ian
  13. ianric

    Active Countries

    Sorry, tried to edit but wasn't allowed. It's steps 3e, f & g :blush: Thanks Ian
  14. ianric

    Active Countries

    Hi Just installed and it works great but I can't get it to work with the Fast Easy Checkout contrib. It uses a different create_account file and the code is different. Im stuck at steps 4e, f & g. Hope someone can help. Thanks Ian
  15. ianric

    fast easy checkout

    Hi again just thought I'd let everyone know that I have solved it. I had the same prob (boxes not filled in) on the edit account page so I created a test account on the OSC demo page just to check and the boxes were filled in. Anyway, after a bit of digging I overwrote my html_output.php file with the default and all is OK. Thanks Ian
  16. Solved :lol: It was the % increase for larger packages. Set to 0 and all is OK. Cheers Ian
  17. Right. That's it!! Last one then I'm off home. :'( 334 is the tare weight so set that to 0. 1st class std now says Delivery Weight : 0.1903 Kg's (Ships normally within 1 to 3 days) £1.60. Where's it picking the extra up??? Ian
  18. OK I give up!! I put all my weights as 173 grams so modified the table but that didn't work. I then changed all weights to kg ie 0.173. Now when I checkout I get all 4 options :lol: but the 1st class std says Delivery Weight : 334.173 Kg's (Ships normally within 1 to 3 days) £1.70. There's only 1 product in the basket and it weighs 173 grams. Will leave it 'til tomorrow when I'm fresh. Ian
  19. Hi again I reinstalled first plus zones and the Royal mail 1st class standard now shows up with icon but the other rm 2nd and the same but recorded don't show. Ian
  20. Hi It's Tues afternoon and I'm falling asleep so it maybe me. I have installed it, dead easy, but it doesn't show anything for the UK. If I change my test customers country to Albania I get Airmail international signed for and no price because of the over weight (all my prods are in grams). If I change him back to UK the option goes. I've changed GB to UK but still get no shipping options. Can anyone help? thanks ian
  21. ianric

    fast easy checkout

    Hi again Doing some more testing and it seems the original contact us works :blush: I have viewed the source of the page and the entry boxes are set to readonly. If the customer is logged in it should prefill the name and email boxes and set them to readonly. That bit is right it just isn't displaying the name and email. If I uninstall the FEC contrib then it all works. The code in the contact us choice contrib is <tr> <td class="main"><?php // prefill first+last name and email address if customer is logged in if (tep_session_is_registered('customer_id')) { $customer_query_raw = "select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id='" . $customer_id . "'"; $customer_query = tep_db_query($customer_query_raw); $customer_array = tep_db_fetch_array($customer_query); echo tep_draw_input_field('name', $customer_array['customers_firstname'] . " " . $customer_array['customers_lastname'],'readonly'); echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">"; echo tep_draw_input_field('email', $customer_array['customers_email_address'],'readonly'); } else { echo tep_draw_input_field('name'); echo "</td></tr><tr><td class=\"main\">" . ENTRY_EMAIL . "</td></tr><tr><td class=\"main\">"; echo tep_draw_input_field('email'); } ?></td> </tr> Hope someone can help Ian
  22. ianric

    fast easy checkout

    Hi Just installed FEC and apart from a few minor changes in the layout it seems to be working. The prob that I am having is with the Contact us page. I have the contact us installed and when I am logged in I can't type in the name and email address boxes but I can in the big enquiry box but I can type in all boxes when I am logged out. I have uploaded the default OSC contact us page and it still happens so I know it isn't the contact us page. Thanks Ian
  23. Hi I have installed the contrib and it all works, even the email and the breadcrumb fixes work, but I can't get it to print the improved order number on the checkout_success page. I've tried echoing what I think is the order id and I get Object printed otherwise its just blank. Hope someone can help me. Ian
  24. ianric

    Improved order number

    Hi, me again Solved. I used sections from the scrambled order number contrib, altered a few SQL queries. Ian :D
  25. ianric

    Improved order number

    Hi again I have managed to get it sort of working. In the contrib success checkout update it says put these 2 lines in include(DIR_WS_CLASSES . 'order.php'); $order = new order($order_id); If I hardcode and replace the $order_id with the actual order number it works. So I figure I could get the order_id from account.php of similar but I don't know how. Hope someone can help me Ian
×