Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Placing Review Section In Block Rate Topic   - - - - -

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 06 March 2014 - 07:18 AM #1

Hi,

I know now cs cart have smarty based HTML block. We can add direct .tpl code in blocks.

I am trying to place review for product in block then in tab.

Why: customers can see all reviews without any button click of the tabs.


Can any one guide me which part of file code I can bring into block.



Hope this information will be so helpful to all community members.

If I find any solution I will update . :)


Regards,
RR
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22005 posts

Posted 06 March 2014 - 07:55 AM #2

Dear RR,

Unfortunately your message is not quite clear. But if you want to put the content of the "Reviews" tab to the special block, please use the following code:

{if $addons.discussion.status == 'A'}
{include file="addons/discussion/views/discussion/view.tpl" object_id=$product.product_id object_type="P" title=__("discussion_title_product") quicklink="disussion_link" no_box=true}
{/if}

It should work with CS-Cart and Multi-Vendor 4.1.x

Thanks
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 06 March 2014 - 08:54 AM #3

hi @ecomlab. it works perfect. I was looking the same.


How to displace rating review written by the customer if the review is not empty.

Right now the block displays only no post found



thanks again

Edited: A test review is written and approved by admin. (review is shown up in review tab though)
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22005 posts

Posted 06 March 2014 - 04:49 PM #4

Dear RR,

Could you please provide us with the dummy example of the required look and feel? Will try to help you
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 07 March 2014 - 02:39 AM #5

Hi,

Well, I just want to place the review tab content under the description section of the product page. I dont want the review should be shown in tab.

I want it to be shown just under the description section. (product page)

hope its clear.

So I planned to place the review code in block.
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22005 posts

Posted 07 March 2014 - 08:01 AM #6

Dear RR,

It seems that the issue is caused by the strong cache of static blocks. Please check the article below and try to clear the cache

http://kb.cs-cart.co...s-not-displayed
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 07 March 2014 - 10:42 AM #7

yep its some cache stuff. Its shows up now clearly in the block.


How to hide the review tab though @ecomlabs.

I tried editing the review show to disabled. (by doing this the rating and review link under the product title disappeared),

I just want that review tab to be hidden any suggestion.

Thanks for helping me up in this thread.
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22005 posts

Posted 07 March 2014 - 06:04 PM #8

Dear RR,

The tab can be disabled on the "Products tab" page:

http://demo.cs-cart....tch=tabs.manage

To disable the section under the product title, please rename or delete the following file

design/themes/basic/templates/addons/discussion/hooks/products/main_info_title.post.tpl

And do not forget to clear the cache )
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ravt
  • Junior Member
  • Members
  • Join Date: 11-Aug 10
  • 195 posts

Posted 14 March 2014 - 07:56 AM #9

glad it works perfect and works smooth now like my client requirement.

thanks for your support @ecomlabs
After all its simple

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22005 posts

Posted 25 March 2014 - 07:04 AM #10

You are welcome.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)