Can someone please help me with this, for you most probably, easy question?
My shopping cart button appears to be something wrong with it, I did not change anything. Now the shopping cart button is "too small and there is no text in the button".
Can someone please tell me where I can change this? Now for visitors of the website, it is not obvious where the shopping cart button is. I have sent an print screen to make it more clear (opencart 3.0)
Attachments
Schermafbeelding 2017-10-31 om 10.32.30.png (61.21 KiB) Viewed 1933 times
Schermafbeelding 2017-10-31 om 10.32.08.png (23.05 KiB) Viewed 1933 times
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
default line 27
Code: Select all
$_['button_cart'] = 'Add to Cart';
I did however scrolled down a little more and i saw lines "// error". Does this mean something was not translated correctly? I have added the print screens below.
Attachments
Schermafbeelding 2017-11-05 om 22.23.05.png (63.15 KiB) Viewed 1857 times
Schermafbeelding 2017-11-05 om 22.17.51.png (19.55 KiB) Viewed 1857 times
I see you have $_['button_cart'] = 'Add to Cart'; in your file.
When you say you have added translations...did you edit the en-gb folder and translate text in there or did you install another language pack
Also have you made any edits to the product.twig
Well, at first I only added/installed the NL dutch language file.cyclops12 wrote: ↑Tue Nov 07, 2017 3:13 amIf that is from your language file then dont panic...the " //error" is just the translations for error messages
I see you have $_['button_cart'] = 'Add to Cart'; in your file.
When you say you have added translations...did you edit the en-gb folder and translate text in there or did you install another language pack
Also have you made any edits to the product.twig
But then I saw that several modules were not translated automatically, so now i have started to manually translate some files.
I did not make any changes to the product.twig.
Also, can someone also tell me why my shopping cart button is like the way it is now? It is only a blue "line", so for new visitors this does not seem like to be the add to the shopping cart button. Now it just looks like a part of the website theme. How can this be changed?
Code: Select all
<button type="button" id="button-cart" data-loading-text="Laden..." class="btn btn-primary btn-lg btn-block"></button>
Software Code product.twig:
Code: Select all
<button type="button" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-primary btn-lg btn-block">{{ button_cart }}</button>
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
See print screen 1 for the changes made. See print screen 2 of how the shopping cart button / add to cart button looks like now.
Attachments
Schermafbeelding 2017-11-07 om 00.25.45.png (101.38 KiB) Viewed 1782 times
what could be missing, in your Source File, for what reason ever..
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Did you clearing the all cash after some modifications? You need turn of cash or clear it in your admin dashboard, small icon in the right upper corner...
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
I just did the clearing of the cache, no changes to the order button to be seen however.
I have another website www.shopmijnvoordeel.nl, it is the same website theme, but here the order button is correct. This is Opencart 2.3.0.2.
The website with the incorrect order button is on website www.topmartialarts.eu, this is Opencart 3.0.2.0. The order button is just a "blue line".
I have added two print screens again. See the difference and my problem
Attachments
Schermafbeelding 2017-11-07 om 14.14.21.png (46.05 KiB) Viewed 1726 times
Schermafbeelding 2017-11-07 om 14.14.12.png (38.69 KiB) Viewed 1726 times
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I have added back the EN default language. It was still on my web hosting server website, so all I did now was add it back in Admin Opencart 3.0, see print screen. This however still does not change the order button (see print screen 2), it is still just blue without any texts...
Attachments
Schermafbeelding 2017-11-07 om 20.40.49.png (45 KiB) Viewed 1670 times
Schermafbeelding 2017-11-07 om 20.37.46.png (37.59 KiB) Viewed 1670 times
Users browsing this forum: Bing [Bot], SohBH and 389 guests