Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search the Community

Showing results for tags 'shipping hide'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce v4.x
    • General Support
    • Migration from old osCommerce
    • Design and Templates
    • Apps / Add-ons
    • Translations
    • API and import/export
    • Marketplace integration
    • Manuals and How-to
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Commercial Support Inquiries
    • Developer Feedback

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 1 result

  1. I'm offering Pickup and Shipping on my site. For products which I can do both it works. I want some products never to be shipped, because their simply to heavy. So if I can hide shipping for products that are way to heavy for shipment and only display pickup as an option. It works if I let OSC 2.2 do it on price, with the following code in the shipping module. if ( ($this->enabled == true) && ($order->info['total']>= 100) ) { $this->enabled = false; } What would be to code to do it base on weight? This doesn't seem to work for me: if ( ($this->enabled == true) && ($shipping_weight >= 100) ) { $this->enabled = false; Should be easy feeling kinda stupid that nothing seems to work!
×
×
  • Create New...