I'm running an online store using Prestashop. I always try to keep the software up-to-date, using the one-click update module (currently running 1.7.4.2). But one of the last updates introduced a problem: The total in the shopping cart and on checkout are not displayed correctly when using a discount code.
image of the shopping cart with a discount code
As you see in the picture, the discount is calculated correctly, but the total isn't. Here's the cart-summary-totals.tpl of my theme:
{block name='cart_summary_totals'}
<div class="cart-summary-totals">
<span class="label"><strong>{$cart.totals.total.label} {$cart.labels.tax_short}</strong></span>
<span class="value"><strong>{$cart.totals.total.value}</strong></span>
</div>
{/block}
{block name='cart_summary_tax'}
<div class="cart-summary-line">
<span class="label sub"><small>{$cart.subtotals.tax.label}</small></span>
<span class="value sub"><small>{$cart.subtotals.tax.value}</small></span>
</div>
{/block}
I really don't know what's causing this, and people in the prestashop forum ignore my post, so I hope I can get some help here.
In case someone stumbles upon this problem as well, here's the solution.
Turns out that this is a bug of the Prestashop core. I submitted a bug report and it was reproduced and confirmed. In the meantime someone posted a solution on the github thread that seems to work for everyone. More over here:
https://github.com/PrestaShop/PrestaShop/issues/10264
Related
We have a website, which has been built up from the default Dynamics 365 portal; the header menu (primary navigation) has an item for 'home', when edited has a URL as .fa.fa-home an image derived from FontAwesome
We want to add another menu item, that also uses this style of image, but using other values, such as .fa.fa-cloud-download doesn't display anything. Have tried a few different names from the W3Schools - FA4 list
and none seem to work.
If the default for the Dynamics portals, is to use 'images', any idea where these images are hidden?
It is Font Awesome, however the Portal uses a lot of out-of-date resources, so depending on the version that your icon was introduced, it may not be possible.
Try using an older icon (e.g. fa fa-save)
You can also see your options here /css/glyphicons-font-awesome-migrate.min.css
I just checked my portal and the fa-cloud-download icon is working, so make sure you're applying the icon correctly.
<li role="none" class="weblink ">
<a role="menuitem" aria-label="Home" href="/dashboard/" title="Home">
<span class="fa fa-cloud-download" aria-hidden="true"></span>
</a>
</li>
This is part question, part bug report. To reproduce I created a new project "Outlook Web Add In (C#)" in Visual Studio 2017.
Then it generates a default project. In the default project I change:
<p class="ms-font-xl ms-fontColor-themeDarkAlt ms-fontWeight-semilight">All properties</p>
to:
<p class="ms-font-xl ms-fontColor-themeDarkAlt ms-fontWeight-semilight">All properties</p>
Now it gets interesting, prior to clicking the newly created link everything looks as expected:
Prior to clicking
But then when I click the link all of the text in that HTML pane will shrink, more so with each subsequent click:
After clicking several times
No other modifications to the default project were made other than the around any given header tag. It will continue to shrink the more a user clicks.
Although it doesn't solve my question I have also worked around the bug by changing the href statement to the following:
<a href="#" onclick="myfunction(); return false;">
My hypothesis is returning false is unexpected by whatever function is causing the content to reduce in size. Is this an expected behavior?
Thanks for reporting, it seems like a bug.
The team is investigating now.
Please track here for update: https://github.com/OfficeDev/office-js/issues/40
Disclosure: I am working for Microsoft.
I'm using Joomla 3.7
I have a link in the home page that redirects to an article. But when i click it, it redirects to same home page and the article loads in the position where the link is. I noticed that this is happening when the article doesn't have a menu item.
Any idea how to solve this?
Thank you in advance
Edit: Same thing is happening again using DJ-Image Slider. Now using the solution below doesn't work.
-
I got the solution to my answer.
It was a problem of href property on a tag.
In order to redirect to an article, i'm using the Article Button located at the TinyMCE Joomla Editor.
I just entered into code editor, and changed this:
<a class="btn btn-primary" style="border-radius: 10px;" href="index.php?option=com_content&view=article&id=19&catid=2">Asociarse</a>
To this:
<a class="btn btn-primary" style="border-radius: 10px;" href="?option=com_content&view=article&id=19&catid=2">Asociarse</a>
And it worked.
I'm pretty new to Joomla! (using verison 3.3.6) I'm an old hand at WP development. Currently I am looking for the right way to improve an article. This article's content is just a list of links. The content is :
<p><a href="..." >Title of Link </a></p>
<p><a href="..." >Title of Link </a></p>
<p><a href="..." >Title of Link </a></p>
<p><a href="..." >Title of Link </a></p> .....
and so on.
I would like to change this into responsive rows of thumbnails. I could write a bunch of HTML into the back-end editor, and add some classes to the stylesheet, but I'd prefer to learn how to leverage Joomla's existing functions and extensions. Would someone direct me a little?
You can use Joomla Template Override system. Here is the article about that:
https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
We have a catalog browser for products were the user can click and it opens a window to show the product details, this works fine in Chrome, but when tried on IE8 the popup window close button is not showing, i still can click on it, but it is not visible.
Here is my code:
<div class="k-window-titlebar k-header" style="margin-top: -32px;"> <span class="k-window-title" id="productView_wnd_title" style="right: 30px;"></span><div class="k-window-actions"><a role="button" href="#" class="k-window-action k-link"><span role="presentation" class="k-icon k-i-close">Close</span></a></div></div>
We are using .net asp mvc and kendoui.
Any ideas on what to do for fixing it?
Thanks!
Edit: found a reference to similar issue on kendo forums: window-widget-problems-on-ie8
Already found the issue, the bundle for css had missing the kendo version on path.