Jump to content

steve_spaces

Members
  • Content count

    43
  • Joined

  • Last visited

Profile Information

  • Real Name
    steve
  • Gender
    Male
  • Location
    UK
  1. Hi there, I wonder if someone here can help because i've been struggling with this for weeks. Basically I have a shop that sells products in various quantities ranging from 100 to 100,000. I've set the product attributes and have radio buttons to display the options with their respective prices. What i'm trying to do to make the product info page look tidy is have the options set out so that the option value is in two columns. ie I have the radio button and next to it the quantity, then in another column have the price. Or even better I would have 3 columns in a row, one with the radio button, one with the quantity and one with the price. I think I have the code than needs changing which is this: // Output a form radio menu for product info page maniac101 function tep_draw_radio_menu($name, $values, $default = '', $parameters = '', $required = false) { $field =''; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $value = tep_output_string($values[$i]['id']); $field .= '<div class="prod-items"><input type="radio" name="' . $name . '" value="' . $value . '"'; if ($i == 0) $field .= ' checked'; $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '<br /></div>'; } $field .= ''; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } //// As you can see i've already added <div class="prod-items"> so that I can style the row, but I can't see where I could put another to split the row into columns. Anyone have any ideas? Would be much appreciated. Thanks
  2. Hi there, I wonder if someone here can help because i've been struggling with this for weeks. Basically I have a shop that sells products in various quantities ranging from 100 to 100,000. I've set the product attributes and have radio buttons to display the options with their respective prices. What i'm trying to do to make the product info page look tidy is have the options set out so that the option value is in two columns. ie I have the radio button and next to it the quantity, then in another column have the price. Or even better I would have 3 columns in a row, one with the radio button, one with the quantity and one with the price. I think I have the code than needs changing which is this: // Output a form radio menu for product info page maniac101 function tep_draw_radio_menu($name, $values, $default = '', $parameters = '', $required = false) { $field =''; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $value = tep_output_string($values[$i]['id']); $field .= '<div class="prod-items"><input type="radio" name="' . $name . '" value="' . $value . '"'; if ($i == 0) $field .= ' checked'; $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '<br /></div>'; } $field .= ''; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } //// As you can see i've already added <div class="prod-items"> so that I can style the row, but I can't see where I could put another to split the row into columns. Anyone have any ideas? Would be much appreciated. Thanks
  3. Noone solved this?
  4. steve_spaces

    Offical Google Checkout module for osCommerce Support Thread

    Just an idea, and i don't know if this has been done before. But at the moment i have the google contrib installed. What happens is in shopping_cart.php i get two options either to go through normal checkout or pay through google checkout. If i select to go through the normal checkout it takes me to checkout_confirmation.php where i can select google checkout as my only payment option, and the shipping gets calculated. Then when i hit confirm order it takes me back to shopping_cart.php. I then hit google checkout and it has my shipping calculations added. I think? If so i was thinking that if checkout_confirmation.php could send me to a different page ie shopping_cart2.php then on that page i could remove the normal checkout button, and the only option would be to pay via google checkout, which would then add my calculated shipping. I could then remove googloe checkout from the normal shopping_cart.php, so that people would need to to register and checkout in the normal way, with shipping calculated, and the final step would be to pay through google checkout. That seems pretty simple, but am i way off here?? Thanks
  5. steve_spaces

    Payment Modules will not Update

    Hi all, I've tried this fix because i'm having the same issue with the PayPal Standard module not updating in admin. I've opened admin/modules.php but the line of code mentioned above isn't there. I have: while (list($key, $value) = each($mInfo->keys)) { I also tried the second fix mentioned on here, but my compatibility.php files already have the reset($ar); Any pointers would be great.. i'm at a total loss here..... thanks
  6. steve_spaces

    PayPal Standard not updating in Admin

    Hi, I'm hoping someone can help me here because this is weird. I'm trying to set up Paypal Standard on my store. In the admin/modules/payment section i've installed the PayPal Website Payments Standard option. I then need to edit the options, like setting the Do you want to accept PayPal Website Payments Standard payments? to True. The weird thing is that the options i select in this area will not update. I've tried reinstalling the module several times and still it won't save my updates. I've searched on Google, and through these forums and haven't found any answers. Does anyone have any ideas? .. Would be greatly appreciated!! Thanks
  7. steve_spaces

    PayPal Standard OSC Admin Problem

    Hi, I'm hoping someone can help me here because this is weird. I'm trying to set up Paypal Standard on my store. In the admin/modules/payment section i've installed the PayPal Website Payments Standard option. I then need to edit the options, like setting the Do you want to accept PayPal Website Payments Standard payments? to True. The weird thing is that the options i select in this area will not update. I've tried reinstalling the module several times and still it won't save my updates. I've searched on Google, and through these forums and haven't found any answers. Does anyone have any ideas? .. Would be greatly appreciated!! Thanks
  8. steve_spaces

    Header Tags SEO

    Hi Jack, Sorry i am using Header Tags SEO, not HTC... i'm tying to install the display products in categories contribution which involves editing index.php... part of it says find this code: but part of that code is taken over by header tags seo: its supposed to be replaced with this: the rest of it appears to be ok .. its just integrating that piece of code with the header tags seo code ... have you any ideas how to do this? It would be great if you could help.. many thanks
  9. steve_spaces

    Header Tags SEO

    Hi, Has anyone managed to get HTC working with this contribution? http://addons.oscommerce.com/info/5170 I instilled it but one line of code is conflicting with the HTC code .. which results in the HTC code being displayed on the page ... Any ideas would be great. Many thanks
  10. steve_spaces

    [contribution] Simple Template System (sts)

    I don't know if i'm going blind here ... but i can't see anything about creating sts tags on that page or any of the others ive serached in this thread ... :blink:
  11. steve_spaces

    [contribution] Simple Template System (sts)

    Thanks for the reply, is there a tutorial somewhere on how to create sts tags? thanks again
  12. steve_spaces

    Header Tags SEO

    Great thanks Jack!
  13. steve_spaces

    [contribution] Simple Template System (sts)

    Hi, Does anyone know if you can have multiple banner ads with sts? I have a $banner_only in my right column which displays a banner, but i'd also like a different one in the left column .. is this possible? perhaps a $banner_only2 or something... I have searched for this in the forum and google but found nothing .. It would be great if it were possible .. many thanks steve
  14. steve_spaces

    Header Tags SEO

    Hi, Can i just say after many efforts i've managed to get my store working. i've combined htc, seo url and sts and its bellissimo! One thing i'm trying to do now though is add some text in the category pages. Just some blurb explaining the category. I found one very old contribution that does this, but i tried to install it but because i have htc installed the code i'm supposed to replace has already been altered by htc i'm not sure how to do it. Anyone know how to get this contrib working with htc? http://www.oscommerce.com/community/contributions,4294 Thanks
  15. steve_spaces

    Offical Google Checkout module for osCommerce Support Thread

    I figured it out for anyone who is interested. catalog/includes/languaguages/english/shopping_cart.php define('TEXT_ALTERNATIVE_CHECKOUT_METHODS', '- Or use -'); just remove it from there :) thanks anyhow ... also i saw someone on here had a problem when they hit the google checkout button it just seems to refresh the page .. anyone else had this problem? Many thanks
×