1 Attachment(s)
How to align Product Descriptopn box
Hi All,
Running version 1.58a on a linux server running PHP Version: 8.1.31
Template Bootstrap Version 3.7.4
CKEditor version 5
Image Handler version 5
Australia Post Shipping Module V2.5.7a
I want to be able to have the Product Description box to show below the add to cart across the page and don't know where the page code is located and code to do this. I have image below of how it is showing what it looks like present. Page link: https://www.outdoorking.com.au/brand...03930k-bld5695
Attachment 20959
Any help with code and where to place it would be appreciated.
Re: How to align Product Descriptopn box
Edit this file
Path: \includes\templates\your_template\templates\tpl_product_info_display.php
Find this div
<div id="productInfo-productDescription" class="productDescription mb-3" inert="true"></div>
Cut and paste it after the closing tag of this div
<div id="addToCart-card" class="card mb-3"></div>
Re: How to align Product Descriptopn box
Quote:
Originally Posted by
chadlly2003
Edit this file
Path: \includes\templates\your_template\templates\tpl_product_info_display.php
Find this div
<div id="productInfo-productDescription" class="productDescription mb-3" inert="true"></div>
Cut and paste it after the closing tag of this div
<div id="addToCart-card" class="card mb-3"></div>
That did not appear to work here is what I changed from line 96 to 112:
</div>
<!--eof Additional Product Images -->
<!--bof Product description -->
<?php
if ($products_description != '') {
?>
<div id="<?= $html_id_prefix ?>-productDescription" class="productDescription mb-3">
<?= stripslashes($products_description) ?>
</div>
<div id="addToCart-card" class="card mb-3"></div>
<?php
}
?>
<!--eof Product description -->
<?php
Re: How to align Product Descriptopn box
Looks like you have the same point of view as I did/do:
https://github.com/lat9/ZCA-Bootstra...ate/issues/273
Re: How to align Product Descriptopn box
Quote:
Originally Posted by
torvista
Thank but I would like to fix the issue if possible.
1 Attachment(s)
Re: How to align Product Descriptopn box
My file is heavily modified, but here's what I did to reduce the space waste.
Re: How to align Product Descriptopn box
Quote:
Originally Posted by
torvista
My file is heavily modified, but here's what I did to reduce the space waste.
That file worked by dropping the Product descripton down but it just need to spread the information across the page. Link here: https://dev.outdoorking.com/engines/...t-valve-843751
I would like it to go across the width of the page if polssible as well.
Than you very much for the file we are half way to what I am needing. I thought that I was chasing a lost cause for a while.
1 Attachment(s)
Re: How to align Product Descriptopn box
Edit this file
Path: \includes\templates\your_template\templates\tpl_product_info_display.php
Cut this
div id="productInfo-productDescription" class="productDescription mb-3" inert="true"></div>
paste it before this div
<div id="productInfo-moduleDisplayColLeft" class="col-sm"></div>
Attachment 20961
Re: How to align Product Descriptopn box
Quote:
Originally Posted by
chadlly2003
Edit this file
Path: \includes\templates\your_template\templates\tpl_product_info_display.php
Cut this
div id="productInfo-productDescription" class="productDescription mb-3" inert="true"></div>
paste it before this div
<div id="productInfo-moduleDisplayColLeft" class="col-sm"></div>
Attachment 20961
Is this what you mean. Page code:
<div class="p-3"></div>
<?php require $template->get_template_dir('/tpl_modules_additional_images.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_additional_images.php';
}
?>
</div>
<!--eof Additional Product Images -->
<!--bof Product description -->
<?php
if ($products_description != '') {
?>
<div id="productInfo-moduleDisplayColLeft" class="col-sm"></div><div id="<?= $html_id_prefix ?>-productDescription" class="productDescription mb-3">
<div id="addToCart-card" class="card mb-3"></div>
<?= stripslashes($products_description) ?>
</div>
<?php
}
?>
<!--eof Product description -->
<!--bof Reviews button and count-->
Re: How to align Product Descriptopn box
Sorry if i was not clear enough. All you have to do is
find and cut this
<!-- bof product desc -->
<div id="productInfo-productDescription" class="productDescription mb-3" inert="true">
<p> </p><p> </p><p> </p><figure class="table" style="width:100%;"><table><tbody><tr><td style="background-color:rgb(51, 51, 51);border-color:hsl(0, 0%, 100%);border-style:ridge;text-align:center;"><span style="color:hsl(0,0%,100%);"><strong>Replaces OEM</strong></span></td><td style="background-color:rgb(51, 51, 51);border-color:hsl(0, 0%, 100%);border-style:ridge;text-align:center;"><span style="color:hsl(0,0%,100%);"><strong>Outdoorking Product Description ©</strong></span></td><td style="background-color:rgb(51, 51, 51);border-color:hsl(0, 0%, 100%);border-style:ridge;text-align:center;"><span style="color:hsl(0,0%,100%);"><strong>Dimensions</strong></span></td></tr><tr><td style="background-color:rgb(204, 204, 204);border-color:hsl(0, 0%, 100%);border-style:ridge;"><strong>Honda:</strong> 72511-VL9-B40, L1283-19M-110</td><td style="background-color:rgb(204, 204, 204);border-color:hsl(0, 0%, 100%);border-style:ridge;text-align:center;">Honda Buffalo Blades, Workshop Box of 50 Pairs</td><td style="background-color:rgb(204, 204, 204);border-color:hsl(0, 0%, 100%);border-style:ridge;">Hole Size: (inches) 5/8<br>Hole Size: (mm) 16<br>Length: (in): 4 7/8<br>Length: (mm): 124<br>Width: (inches) 1 3/4<br>Width: (mm) 4</td></tr></tbody></table></figure><p> </p><figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:71.34%;"><col style="width:28.66%;"></colgroup><tbody><tr><td style="background-color:rgb(51, 51, 51);border-color:hsl(0, 0%, 100%);border-style:ridge;text-align:center;" colspan="2"><span style="color:hsl(0,0%,100%);"><strong>Fits Models</strong></span></td></tr><tr><td style="background-color:rgb(204, 204, 204);border-color:hsl(0, 0%, 100%);border-style:ridge;"><strong>Fits:</strong> Honda Buffalo 19" (483mm) cut rear catcher models 1990 onwards including HRU196K1 Buffalo Classic Catch, HRU196M1 Buffalo Classic Mulch & Catch, HRU197K1 Buffalo Bull Catch, HRU197M1 Buffalo Bull Mulch & Catch, HRU19K1 Buffalo Buck Catch, HRU19M1 Buffalo Buck Mulch & Catch model<br>lawnmowers.<br> </td><td style="background-color:rgb(204, 204, 204);border-color:hsl(0, 0%, 100%);border-style:ridge;"><strong>Australian Made:</strong> Yes<br><strong>Features:</strong> Stepped blades with formed flute & offset bolt hole.<br><strong>Bolt Set:</strong> BBN3619 or BBN5535 (no "D" plates)</td></tr></tbody></table></figure><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p> </div>
<!-- eof product desc -->
paste before this
<div id="productInfo-moduleDisplayColLeft" class="col-sm">
<div id="ProductNotifications-centerBoxContents" class="card mb-3 text-center">
<div id="ProductNotifications-centerBoxHeading" class="centerBoxHeading card-header h4">
Notifications </div>
<div id="ProductNotifications-card-body" class="card-body p-3 text-center">
<a href="https://www.outdoorking.com.au/brand-index-generic-and-genuine-a-to-z/ga-bld-parts/honda-4-7-8-blade-19-catch-mower-3010500-742-04404-a03830k-a03930k-bld5695?action=notify" title="Notify me of updates to this product.">
<img src="includes/templates/template_default/images/box_products_notifications.gif" title="Notify me of updates to this product." alt="(image for) Notify me of updates to this product." width="60" height="60"> <br>
Notify me of updates to <strong>HONDA 4-7/8" BLADE 19" CATCH MOWER, 72511-VL9-B40, L1283-19M-110, BLD7635</strong> </a>
</div>
</div>
</div>