1. Shopin
  2. Sunday, 22 October 2017
Please help for the steps to disable intro text (or) increase number of characters in Product detail page
AND
Description in the same page.

Images are attached.
Attachments (2)
Responses (12)
Hi,
This field to show short description only. You can replace the following code to get description till read more.

> open the following file: templates/shaper_shopin/html/com_j2store/templates/bootstrap3/view_sdesc.php on 16 no line you will get:


echo JHtml::_('string.truncate', strip_tags($this->product->product_short_desc), $this->params->get('desciption_limit', 100));


replace it by:


echo JHtml::_('string.truncate', strip_tags($this->product->product_short_desc));


- Thanks
  1. more than a month ago
  2. Shopin
  3. # 1
It works.
Thanks.

But is there any way, we can have different content in 'Description' other than the short description below the title.
Since I could not find the module/SP page builder page/article which brings the product detail page.
Please guide, where to change that (or) location which can be altered the components of that page, which is common for all product detail page.
  1. more than a month ago
  2. Shopin
  3. # 2
Hi,
Could you please explain more clearly? if i am not wrong then j2store have already a module for showing products listing. We showing j2store product on the home page by j2store module using SP PageBuilder module addon. it should work.

and what you want to show instead of description, please?

- Thanks
  1. more than a month ago
  2. Shopin
  3. # 3
I'm attaching list of modules in the system.
Please let me know which module is being used in the SP Page Builder to display Product detail page.
As the product detail is an article of type j2store, I do not see article definition as SP Page Builder also.
It is created using regular Joomla editor.
Attachments (2)
  1. more than a month ago
  2. Shopin
  3. # 4
Hi,
I saw in your list has J2Store Products display type module which shows j2 store product listing (http://prntscr.com/h1ogj4). If you are talking about product details then no you can't show product details by module or addon.


- Thanks
  1. more than a month ago
  2. Shopin
  3. # 5
J2Store Products display - module shows the Latest Products only.
But when a product displays from a menu which is a j2store product, it still shows the same look and feel as comes from Latest Product.
Is there module or SP Page Builder page to change the look and feel, say move 'add to cart' to a different location, move heading etc.,
I believe some part of template is driving that page output.
Please help to identify that.
  1. more than a month ago
  2. Shopin
  3. # 6
Can you please guide for my previous question.
I have attached the product detail page from your demo site and can you let me know the module or SP Page Builder page which bring this detail page. Basically I want to change the look and feel ayn layout of the product detail page.
As I see SP Page Builder - module only for Latest Products but not for product from category -> product navigation.
Attachments (1)
  1. more than a month ago
  2. Shopin
  3. # 7
If you want to change the look of layout of the product detail page. You have to customize it.
J2Store view has been overridden by template, here: templates\shaper_shopin\html\com_j2store

so all changes should be done there,
or install addcional module (search on JED for modules which support J2store)

Sorry, but we do not support customizations
  1. more than a month ago
  2. Shopin
  3. # 8
I have an issue with the description. I don't want to use readmore anymore. I want to use charachter limit for intro text description only without strip tags. So I used the following code instead:


<?php echo JHtml::_('string.truncate', $this->product->product_short_desc, $this->params->get('desciption_limit', 250));


But the code don't affect only the short description at the top, but also affect the long description too and the text in the long description shorten also. :(

How can I use this code for the short description only? Not for both descriptions?

Kindly find the attached image. You will see that the main description (at the bottom) was shorten also. That I don't need. I want only the short description at the top to be shorten, without using readmore line, but by using description limit characters as from the code above.

I hope you reply!
Thanks in advance!
Attachments (1)
  1. more than a month ago
  2. Shopin
  3. # 9
I have an issue with the description. I don't want to use readmore anymore. I want to use charachter limit for intro text description only without strip tags. So I used the following code instead:


<?php echo JHtml::_('string.truncate', $this->product->product_short_desc, $this->params->get('desciption_limit', 250));


But the code don't affect only the short description at the top, but also affect the long description too and the text in the long description shorten also. :(

How can I use this code for the short description only? Not for both descriptions?

Kindly find the attached image. You will see that the main description (at the bottom) was shorten also. That I don't need. I want only the short description at the top to be shorten, without using readmore line, but by using description limit characters as from the code above.

I hope you reply!
Thanks in advance!


Hi, There thanks for your reply. We have discussed via live chat about your problem and solved.


<?php
$excerpt = substr( $this->product->product_short_desc, 0, 200 );
echo $excerpt;
?>


Add the read more for see full-text details in the bottom
https://prnt.sc/hv0rh7

-Thanks
  1. more than a month ago
  2. Shopin
  3. # 10
That is the same solution I have made using read more line. But I want to tell you that the main purpose of that demand, that the manager of the website is not good at technichal things, so I'd like to mak it easier to him to run the text automatically via shorten chatacters.
So any solution to remove read more line and using only shorten characters limitation?
  1. more than a month ago
  2. Shopin
  3. # 11
That is the same solution I have made using read more line. But I want to tell you that the main purpose of that demand, that the manager of the website is not good at technichal things, so I'd like to mak it easier to him to run the text automatically via shorten chatacters.
So any solution to remove read more line and using only shorten characters limitation?


Hi, Already i have solved your main problem. Thanks
  1. more than a month ago
  2. Shopin
  3. # 12


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.