E-Commerce Content Management
Upcoming SlideShare
Loading in...5

E-Commerce Content Management



Learn how to manage e-commerce/product content in ProdigyView's built in content management system.

Learn how to manage e-commerce/product content in ProdigyView's built in content management system.



Total Views
Views on SlideShare
Embed Views



2 Embeds 18

http://www.prodigyview.com 17
http://www.ecomsummit.com 1


Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

E-Commerce Content Management E-Commerce Content Management Presentation Transcript

  • E-commerce/Product Content Management
  • OverviewObjectiveLearn how to manipulate product content of ProdigyView’sbuilt-in content management system.Requirements Installed version of ProdigyView with a database Understanding of base contentEstimated Time10 minutes www.prodigyview.com
  • Follow Along With Code Example1. Download a copy of the example code at www.prodigyview.com/source.2. Install the system in an environment you feel comfortable testing in.3. Proceed to examples/content/ProductContentExample.php www.prodigyview.com
  • What Is Product Content?Product content is content in the cms designed to facilitatedata that involves e-commerce or listing of inventory.Examples of what product content can be used for arethose listed below and other examples your imagination canthink of.  Clothing Store  Movies  Food Store  Calendars  Restaurant Menu  etc www.prodigyview.com
  • Extends Base ContentLike the other content types, product content extendsbase content. This means it has all the fields that basecontent has in addition to the fields that describes aproduct. Product Content Fields Base Content Fields www.prodigyview.com
  • Create Product Content Product content is relatively easy to create. In an array, passed defined fields into PVContent::createProductContent method. 1. Define the content that will be stored as product content3. Return content id 2. Pass the array to PVContent::createProductContent
  • Database ViewRemember that the product content utilizes both the basecontent and product content fields. This is accomplished byjoining two tables. Your two tables in the database should looksomething like below. Base Content Database View Product Content Database View
  • Product Content FieldsThe previous slide only showed afew fields that can be set whendefining product content. Thecomplete list of fields that apply onlyto the product content type is:
  • Search for Product Content Using the syntax from the PV Standard Search Query, we can search for content related to a product on fields for both base content and product content. 1. Search based on the passed arguments 2. Pass args into getProductContentList() method3. Returns an array of arrays thatcontains the list of product content www.prodigyview.com
  • Iterate Through The ListNext we can iterate through the list of product content tosee the data we just added.1. Iterate through the fields for base content 2. With the automatic joining of the tables, product content fields are also returned www.prodigyview.com
  • Retrieving Product ContentProduct content can also be retrieved directly using thecontent id. The data associated with that product id willbe returned in array. 1. Pass in the content id2. Content is returned in an array4. Get the values of the array by 3. Or get the content id through thespecifying the associated index content’s alias www.prodigyview.com
  • Updating Product ContentThe array that contains the information for a product can also beused for updating the product. Simply change a value at an indexin the array and pass it to PVContent::updateProductContent()method. Remember the content_id variable is required. 1. Set a new value for the product color 2. Pass the array back to update www.prodigyview.com
  • Deleting Event ContentThe last action to take place is deleting the productcontent. To delete content, we pass the content id intoPVContent::deleteContent method.All the content types(audio, video, event, etc) use thePVContent::deleteContent method. www.prodigyview.com
  • Review1. Create product content by passing an array of arguments into PVContent::createProductContent()2. PVContent::createProductContent() will return the id of the newly generated product content3. Search for event content by using the syntax from PV Standard Search Query and passing those arguments into PVContent::getProductContentList()4. Update content by passing an array of accepted fields in PVContent::updateProductContent(). The content_id must be present for this method to work.5. Delete product content by passing the content_id into PVContent::deleteContent(). www.prodigyview.com
  • API ReferenceFor a better understanding of base content, visit the apiby clicking on the link below.PVContent More TutorialsFor more tutorials, please visit:http://www.prodigyview.com/tutorials www.prodigyview.com