Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

iwik

Archived
  • Posts

    113
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jane
  • Location
    Qld, Australia
  • Interests
    I quit my job.<br />I work from home.<br />I'm my own boss now, woo!
  • Website

iwik's Achievements

  1. I've got a little problem happening on my manufacturers page. I've installed this contribution to add more information about our manufacturers. The contribution adds a text area to the normal information that comes up in the right hand information panel - along with the default name and image and url of manufacturers. However, there seems to be a problem with the textarea now that I have installed SPAW. It's working just great on every other page except this! I have an error occuring - I think it's javascript or similar. Line: 36 Char: 5 Error: Object Required Code: 0 In Firefox the text area just is not there, and in IE the SPAW editor is below the list of manufacturers - I assume this is because the text area in the side is only 30 x 10 while the SPAW editor is huge in comparison. Could that be causing the error? Not having enough space for SPAW? If that's the case, how could I make the text area be just a plain textbox, rather than a textarea with SPAW attached? If you'd like me to send or post my .php file just let me know. Any help would be wonderful! Jane.
  2. In includes/classes/cc_validation.php, there is a long if-else statement that has many different types of cards on there that it uses to validate the type of card being used. You can easily add/remove cards as necessary, but I'm not sure about turning the whole thing off - you really accept every single type of credit card there is?? There's more information in this thread and to add more credit cards to the list check out this thread
  3. I'd been trying to twiddle with my code myself to try and get it to do a background image within table cells for the categories, rather than using complete images for a few days now, and now this contribution coupled with that little bit of coding there does the job perfectly. I can't believe I never found this contrib sooner. Using the coding you guys have provided and tweaking it just a little, I also managed to make my infobox have one particular background for the main category cells, and another for the subcategory cells. Similar to this photoshop mockup of what I wanted to achieve: Thanks so much Steve & Dennis!
  4. Hi there, I'm trying to work out exactly how I can sort out my postage costs. Rather than have it based on weight, i need it to be based on the total item count. Like this: Within country: 1-3 = $5, 4 or more = $8 Surrounding countries (close by): 1 = $8, 2 = $15, 3 = $15, 4 and over = $3 per additional item International: 1 = $12, 2 = $18, 3 = $18, 4 and over = $4 per additional item There are a few contributions that do something similar, but they're not quite what I need (with the differing zones and all). These are: Multiple flat shipping rates based on Order Total - http://www.oscommerce.com/community/contri...ons,2441/page,4 Table shipping based on number of items - http://www.oscommerce.com/community/contributions,928/page,6 Although, I think my shipping would need to be zone based, to account for the differing countries that I would be shipping to (we do have an international customer base, so I can't just cut them off). Is it possible to alter the zones.php file to make it count the items in the cart, rather than add up the total cost or weight of the order to work out the shipping charges?? So instead of having the coding say: function quote($method = '') { ? ? ?global $order, $shipping_weight, $shipping_num_boxes; it has more along the lines of: function quote($method = '') { ? ? ?global $order, $item_count, $shipping_num_boxes; Our products vary in price and weight too, so setting it up to be weight or price based wouldn't really give an accurate shipping total. If anyone could give me any clues on how to achieve this, that'd be awesome.
  5. You're so right about that! I've been looking at the code on the screen for so long now, i'm starting to see it in my sleep. Crazy! :lol:
  6. Hi PrettyWolfie, I wanted to do the same thing, and then after a bit of twiddling I managed to do it. I've posted it in the Tips and Tricks area, and you can find it by clicking this link here. I hope this is of some help to you.
×
×
  • Create New...