Product description

11.11.2024 18:39
#1
Krethiplethi
Joomshopping forum user no avatar
Name: Frank
11.11.2024
Posts: 2
Quote
Product description

Joomla: 5.2
PHP: 8.0
Localhost
free Version

Hi there,

I would like to change the order in the product description. I want to run a shop for translations, which needs a lot of description before you order. Like "Topics", "number of words", "Number of languages (4)" ... and the attributes destroy the Cassiopeia-Template.

So want to have first the description, then the details for the cart.

Now it is like:
- Productdetails
- Productdescription

Wanna have:
- description
- details

As i found here, i need to change:
components\com_jshopping\templates\default\product\product_default.php - product detail

which seems to me:
cutting lines 357 to 359 (without <>)

.... div class="jshop_prod_description">
<?php print $this->product->description; ?
</div>

But i am not sure where to paste it. Hope you got me. Maybe i am blind and i did not find an easier solution.

If you need help in Italian, mark me.

Grüße
Frank


Joomla: 5.2
JoomShopping: 5.5.2
PHP: 8.xx
Website Url: localhost
 
11.11.2024 20:27
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28337
Quote
Aw: Product description

<div class="jshop_prod_description">
<?php print $this->product->description; ?>
</div>

Add after row 132:

<?php if ($this->config->real_ean_in_product_detail && $this->product->getRealEan()!=""){?>
<div class="real_ean">
<?php print Text::_('JSHOP_EAN')?>: <span id="real_ean"><?php print $this->product->getRealEan()?></span>
</div>
<?php }?>

 
12.11.2024 07:35
#3
Krethiplethi
Joomshopping forum user no avatar
Name: Frank
11.11.2024
Posts: 2
Quote
Aw: Product description

Really fast, excellent support

Unfortunately, more was probably destroyed than fixed. I have inserted the given code after line 132. And left the code from line 357-359.

I had only created two products for practice, error in the frontend:
- The name no longer appears for one product.
- For both products, the description breaks off after three lines.

Whereas in the backend, both the product name and the description are still complete.

I assume this is an error on my part.

Liebe Grüße
Frank

I will now proceed differently and create all products first so that I can check the template for each one. Then I'll make a backup with Akeeba and come back to this thread.

Thank you so far! I will recommend you.


Letzte Änderung: 12.11.2024 07:36
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.