1 / 31

Changes to osCommerce backend

Changes to osCommerce backend. Modifications to osCommerce catalog backend are required as follows:. Polyphonic ringtone. Real ringtone. Wallpaper image. Game. Animated ringtone. Product type:. Song Name:. Album:. Movie name:. [datetime added-hidden field].

fola
Download Presentation

Changes to osCommerce backend

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Changes to osCommerce backend • Modifications to osCommerce catalog backend are required as follows:

  2. Polyphonic ringtone Real ringtone Wallpaper image Game Animated ringtone Product type: Song Name: Album: Movie name: [date\time added-hidden field] osCom backend – Under “New product” page - Content editor is able to select from five different “product types", assume for now polyphonic is selected.

  3. Polyphonic ringtone Real ringtone Wallpaper image Game Animated ringtone Product type: Song Name: Album: Movie name: [date\time added-hidden field] osCom backend – Under “New product” page – Delete the “Products Price” category and the “Products Quantity” fields, we do not require them for any of our product types

  4. Polyphonic ringtone Real ringtone Wallpaper image Game Animated ringtone Product type: Song Name: Album: Movie name: Upload only .mid files osCom backend – Under “New product” page – Add new fields of Song Name, Album, Movie Name to our “polyphonic ringtone” product types

  5. Polyphonic ringtone Real ringtone Wallpaper image Game Animated ringtone Product type: Song Name: Album: Movie name: osCom backend – Under “New product” page – Ability to add a promo image to the product categories.

  6. osCom backend – Under “New product” page – Then we scroll down the page a little to view the rest of the page. Delete “Product URL” and “Product Weight” for all of our product types

  7. Upload only .mid files Either: Upload a ring tone file OR: Add a custom link: osCom backend – Under “New product” page – Replace with the following textboxes. The content editor must be able to either upload a ringtone from their computer (only accept *.mid files) OR be able to add our own custom link API code (explained in detail later).

  8. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Song Name: Album: Movie name: Upload only .wav, .mp3 files osCom backend – Under “New product” page – Now assume we have clicked on “Real ring tone”

  9. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Song Name: Album: Movie name: Upload only .wav, .mp3 files osCom backend – Under “New product” page – The “Real ringtone” category will use all the same fields “polyphonic ringtones” but the difference is that “Real ringtone” category will only allow the upload of *.wav, *.mp3 files or add own custom content.

  10. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Wallpaper name: Upload only .gif, .jpg, files osCom backend – Under “New product” page – Now assume you clicked on “Wallpaper image”

  11. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Wallpaper name: Upload only .gif, .jpg, files osCom backend – Under “New product” page – Note: there are no “Song Name” \ “Album” etc fields for “Wallpaper image” product type we only need to have “Product Name” renamed to “Wallpaper name.”

  12. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Wallpaper name: Upload only .gif, .jpg, .png files osCom backend – Under “New product” page – Also, the field “Product’s Image” is the only upload field required, we don’t require a “ring tone upload” field for this product type. We do want a custom link API box here too, and in ALL product types.

  13. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Game name: Upload only .jar files osCom backend – Under “New product” page – Now assume you clicked on “Game” product type.

  14. Polyphoic ringtone Real ringtone Wallpaper image Game Animated wallpaper Product type: Game name: osCom backend – Under “New product” page – As before, we just need the shown field to be named as “Game name”

  15. Game (*.jar) file osCom backend – Under “New product” page – Then we scroll down the page a little to view the rest of the page.

  16. Upload only .jar files Game (*.jar) file osCom backend – Under “New product” page – We can upload a *.jar file.

  17. New Payment Module - API Specifications • Our API specifications – This sample piece of the code is what is needed to insert when connecting to our API service, note: our API handles payment aswell so no security or credit card transaction system is required. We require a osComm payment module programmed to generate the link and to send the wallpaper/ringtone from our server through this API gateway. The code at the bottom shows how to send a wallpaper through the API gateway. All we need is when a user clicks on one of our “download” buttons then our payment module in osCommerce will generate this link on the fly. • <a href="#" onClick="javascript: window.open( 'http://our-API-provider/req.php ?account=dhun &gif=http://ourdomain/pic.gif &caption=your+caption',‘_OUR-API-NAME', 'width=640, height=420, titlebar=1, resizable=1, scrollbars=0'); return(false);"> Send to my mobile</a>

  18. New Payment Module - API Specifications • When users are going to download wallpapers to their phones, the site should never show images directly, it must be called from within PHP scripts. We can send images to our API provider via this same method, Refer to API code below. • <a href="#" onClick="javascript: window.open( 'http://our-API-provider/req.php ?account=dhum &gif=http://ourdomain/pic.gif &caption=your+caption &code=CodeForPHPImageRetriever.php?image=4324','_OUR-API-NAME', 'width=640, height=420, titlebar=1, resizable=1, scrollbars=0'); return(false);"> Send to my mobile</a>

  19. New Payment Module - API Specifications • <a href="#" onClick="javascript: window.open( 'http://our-API-provider/req.php? account=dhum &image=http://yourdomain/image.gif &caption=your+caption','_OUR-API-NAME', 'width=640, height=420, titlebar=1, resizable=1, scrollbars=0'); return(false);"> Send to my mobile</a> • Note: Supported media include .gif, .jpg, .png

  20. New Payment Module - API Specifications • This is the API code for video links. • <a href="#" onClick="javascript: window.open( 'http://our-API-provider/req.php? account=dhum &video=http://yourdomain/video.3gp &preview=http://yourdomain/thumbnail.jpg &caption=your+caption','_OUR-API-NAME', 'width=640, height=420, titlebar=1, resizable=1, scrollbars=0'); return(false);"> Send to my mobile</a> • Note: Supported media include .3gp

  21. We are going to utilise a pre-made oscommerce template, a live working version of this oscommerce installation is at: http://osc.template-help.com/10932/. We obviously require modifications to the original. The next slide shows the modified version.

  22. Download Download This is the modified template that is going to be used. Please note: we have already purchased the template and its already adapted into osCommerce. There are modifications that are needed from the original template. The following slides will outline what each section will do and what modifications that need to be done.

  23. Download Download This should be the list of our new products showing all the promo images. Even though it does not show it here It will show a max of 6 products with 2 in each row.

  24. Download Download This is a news area is just an output of the TEXT_MAIN variable within [default oscommerce installation folder]/catalog/includes/languages/english/index.php

  25. Download Download The listen button should have possibly a javascript or flash link that will play the sound of the ringtone. Either way the code should be designed in a way in which user’s cannot simply refer to our source code, find where the files are located and download it for themselves. Note this “listen” button will need to be able to play .mid and .mp3 files. The .mid files will be for polyphonic tones whereas .mp3 will be for real tones.

  26. Download Download This is the promotional images. We will manually create each of the reflection styles for each image, but eventually will upgrade it to utilise GD image library to do this on the fly. But NOT required at this stage.

  27. Download Download Template needs to be changed so the login box is to be displayed at the top of the page.

  28. Download Download Ringtone Categories will be displayed here. But it might be easier to code if this area is for “This month’s hot tones” section. We don’t mind either way as long as this section has both “Ringtone Category” box and “This month’s hottest tones”

  29. Download Download Song Name: Album: Movie name: We would like to add in a “ringtone request” feature where customers can request ringtone songs and it gets emailed to the administrator.

  30. Download Download AD HERE Song Name: Album: Movie name: We would like space here for an advertisement.

  31. Coding guidelines • When modifying osCommerce we require a few coding guides to be followed. 1.) At the end of the project we will require a list of all the modified files. For example: - /catalog/admin/create_account.php - /catalog/includes/column_left.php Etc. 2.) Within each area of modified PHP file a comment should start as: // BEGIN Modification [description of modification] And at the end of the modified area should end as: // END Modification

More Related