osHelpers - Help for your osCommerce store
 
Google Base Feed Germany
iFrame Defender v1.2
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
Magnum Shopping Cart
  Magnum MVS 8.4 Basic
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate
Tell A Friend
 

Tell someone you know about this product.

   OSHELPERS | OSCOMMERCE CONTRIBUTIONS | FEATURES | 2683   


oscommerce SubscriptionDownloadsMod
[2683]
 
 
box_bg_l.gif.
"Title : Subscription Downloads Mod 1.0
Author : Mark Bowen




What the contribution does :

This contribution is very very simple and is my first contribution so please go steady on me if it is not exactly what you are after!

This will simply patch the main 'product_info.php' file so that registered users will be able to see the whole of a products description whereas non registered or non logged in users will see a shorter description.

This could be very useful for if you want to create a site with downloads and you want people to pay a monthly / yearly fee or whatever you wish and then if they are a registered user and log in then they will be able to see the whole product description and all the download links.

At the moment all you need to do is when you enter your products into the database is provide the information in the following format :

------------------------------------------------------------------------------
This is the text that will show for non - registered users.

^

This text will also show for registered users!!

------------------------------------------------------------------------------

The '^' character is used as a placeholder whereby any text placed beneath it will only be shown to registered users and any non - registered users will just see the text above the character. You could use any text string here that you like instead of the '^' symbol but you must make sure that in the code you will install that you remember to change the $break_character variable to reflect this.

Hope it is of some help to people somewhere as this is something that I needed for a site but couldn't really find anything out there that would do what I needed as easily or cheaply!!!

Regards,

Mark Bowen"

 


For more information, visit the official osCommerce contribution webpage.
box_bg_r.gif.
 

osHelpers

osHelpers