cancel
Showing results for 
Search instead for 
Did you mean: 
1WSCGomez
Moderator
Moderator

Disclaimer

Due to the large number of third party applications and Content Management Systems (CMS), 1Worldsync Content Solutions, does not provide support for third party applications or CMS. This guide is provided as an aide for guidance and suggestions for integration. 1WorldSync is not liable for any actions, damage or loss. If you require support for your third party application or CMS, please contact the owner or company that produced the application for assistance.


Getting Started with Zen Cart Integration

 

There are some steps required in order to integrate Rich Content or DataSource Cloud. Before getting started, the following conditions must be met:

  1. You are using “Products Manufacturer” field in your product catalog
  2. You are storing the actual manufacturer part number in the Products Model field.
  3. You have a Zen Cart Administrator login
  4. You have write access to the zen cart files to make modifications to the templates.

Edit your product page template

  • Get your product page code at https://portal.cs.1worldsync.com/
  • /includes/templates/<YOUR_TEMPLATE>/templates/tpl_product_info_display.php
  • if the file doesn’t exist, you will need to copy this template file from the /included/templates/templates_default/templates/ directory
  • Insert the 3 div containers after <!–eof Main product Image–>
<!--eof Main Product Image-->
<div id="ccs-logos"></div>
<id="ccs-explore-product"></div>
<id="ccs-product-fiche"></div>
  1. Find:
     
    <!--bof Product description -->
    <?php if ($products_description != '') { ?>
        <div id="productDescription"><?php echo stripslashes($products_description); ?></div>
        <?php } ?>
        <!--eof Product description -->
    
  2. Change to
     
    <!--bof Product description -->
    <?php if ($products_description != '') { ?>
        <div id="productDescription"><div id="ccs-inline-content"><?php echo stripslashes($products_description); ?></div></div>
        <?php } ?>
        <!--eof Product description -->
        <script type='text/javascript'>
        var ccs_cc_args = ccs_cc_args || [];
        ccs_cc_args.push(['mf', '<?php echo (!empty($manufacturers_name)) ? $manufacturers_name : "Unknown Mfr";?>']);
        ccs_cc_args.push(['pn', '<?php echo (!empty($products_model)) ? $products_model : "Unknown PN";?>']);
        ccs_cc_args.push(['lang', '<?php echo $_SESSION['languages_code'];?>']);
        ccs_cc_args.push(['market', 'US']);
        (function () {
        var o = ccs_cc_args; o.push(['_SKey', 'YOURSUBSCRIBERKEY']); o.push(['_ZoneId', 'YOURZONEID']);
        var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true;
        sc.src=('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.cs.1worldsync.com/jsc/h1ws.js'; var n = document.getElementsByTagName('script')[0]; n.parentNode.insertBefore(sc, n); })(); </script>
  3. Replace YOURSUBSCRIBERKEY with the Skey and YOURZONEID with the ZoneId values received from the portal when you clicked Get Code.
  4. Save and re-upload your template file to your web server.

Alternative Option:

go to /includes/templates/<YOUR_TEMPLATE>/ directory and create a new folder called “jscript”

Version history
Revision #:
2 of 2
Last update:
‎07-09-2025 07:36 AM
Updated by:
 
Contributors