Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'login to see price'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein
  • German Community's OSCOM v3.x

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. Wrote this module for a new store and tried no core code change but no deal...I have couple questions and any answers are welcome. https://github.com/clustersolutions/osc-price-display-members-only 1 line added to admin/modules.php and I had to use the class file in the catalog side and not the admin because the currencies class aren't the same between the two sides. Perhaps these classes should be consolidated. I wanted the module to be self contained, so I extended the currencies class inside the module, but the procedural step in oscTemplate had called out TEMPLATE_BLOCK_GROUPS = 'boxes;header_tags' in this order and I had to flip the TEMPLATE_BLOCK_GROUPS order around so the boxes would also pickup the change in this module. "update configuration set configuration_value = 'header_tags;boxes' where configuration_key = 'TEMPLATE_BLOCK_GROUPS';" This is what I used, now, is TEMPLATE_BLOCK_GROUPS controlled only from a mysql shell? The alternative would be to add the currencies_mod class file into the class folder and modify the currencies class line in applicaton_top.php. Well, remember my goal was minimum core code change? This method is also kinda messy should the module be uninstalled... May be extending oscTemplates with an updateBlocks() method? Perhaps a class loader would be nice...may be that's already in 2.4 but I had not browsed through the 2.4 codes...but the class loader would have to be very robust and be able to deal with different modules perhaps extending the same class and tinkering with the same method...hmmm?! Any thoughts???
×