This Magento extension allows customers to engage in questions, support queries, and other discussions about the product, and get answers directly from the shop owner - all right on the product view page!
Login your Magento admin
Navigate to System > Cache Management and Disable All Cache
If you have the compilation enabled, make sure to disable it
Log out of the admin. Don't Forget This Step.
Using any FTP client, upload THE CONTENT of the folder "Ultdebate" to your Magento root directory (but not the folder itself).
Then upload THE CONTENT of the "Ultnotes" folder to your Magento root directory.
****************** IF YOU'RE RUNNING ULTIMENTO - THEN YOU'RE DONE! JUST LOG BACK IN THE ADMIN AND THAT'S IT ******************
************************************************************************************************************************
Otherwise: Follow the steps below to install the discussion module in your theme files.
Open this file: /app/design/frontend/default/yourthemefolder/layout/catalog.xml
Look for the catalog_product_view block which will look something like this:
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
Inside that block put this code Just Before the closing tag </block> that follows:
<action method="addTab" translate="title" module="catalog"><alias>ultdebate</alias><title>Discussion</title><block>ultdebate/questions</block><template>ultdebate/questions.phtml</template></action>
<reference name="ultdebate" >
<block type="page/html_pager" name="ultdebate_pager" />
<block type="ultdebate/form" name="ultdebate_form" />
</reference>
Of course the exact structure may vary depending on your theme so just look for the pattern for the tabs on your theme.
Open your theme's CSS file — usually located here: /skin/frontend/default/yourthemefolder/css/styles.css
Look for the catalog_product_view block which will look something like this:
<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
Add these lines anywhere in the file:
.ultdebate-container{list-style-type:none;}
.ultdebate-container li.record {margin: 0px 0px 10px 0px;border: 1px solid #DDDDDD;}
.ultdebate-container .record .info {color:#AAAAAA; margin-left: 5px;margin-top:5px;display:block;}
.ultdebate-container li.record ul{padding:10px;}
.ultdebate-container li.record ul li{padding:5px;}
.ultdebate-container li.record ul li.reply{background-color:#FFF;}
.ultdebate-container li.record ul li.question{background-color:#FAF7EE;}
.ultdebate-container label.required {color:#232323;}
.ultdebate-container .form-field {padding:5px;}
.ultdebate-container .form-field input, .ultdebate-container .form-field textarea {width:100%;}
#ultdebatecred {text-align:center;color:#AAAAAA;font-size:0.9em;}
Now log back in your Magento admin and a new "Discussion" tab should display in your top navigation.
Any questions — feel free to reach out!
Thanks,
Noam Design Group