Show Posts

Messages - HADY

Pages: [1] 2 3 ... 18
Template Support / Re: Edit Account
« on: October 01, 2021, 06:23:31 AM »
you can do this via hook

Code: [Select]
    public function onControllerPagesAccountEdit_UpdateData()
        if (IS_ADMIN == true) {
        $that = &$this->baseObject;
        $form = $that->view->getData('form');
        $form['fields']['email']->attr .= ' readonly';
        $form['fields']['telephone']->attr .= ' readonly';
        $that->view->assign('form', $form);

can you share the file path please ?

Template Support / Edit Account
« on: September 30, 2021, 10:08:12 AM »

I would like to prevent the client from changing some personal details such Name surname email etc.

How to lock these fields to be read only?


Thank you

Thank you for editing my reply too.

Here is my suggestion to you :)

Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1">
p {
  text-align: center;
  font-size: 100px;
  margin-top: 100px;
<h1>Today</p>26.08.2021</p> At (13:15:00).</h1></p><h1>We'll be Online...</h1> </p>
<p id="demo"></p>

// Set the date we're counting down to
var countDownDate = new Date("August 26, 2021 13:15:00").getTime();

// Update the count down every 1 second
var x = setInterval(function() {

    // Get todays date and time
    var now = new Date().getTime();
    // Find the distance between now and the count down date
    var distance = countDownDate - now;
    // Time calculations for days, hours, minutes and seconds
    var days = Math.floor(distance / (1000 * 60 * 60 * 24));
    var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
    var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
    var seconds = Math.floor((distance % (1000 * 60)) / 1000);
    // Output the result in an element with id="demo"
    document.getElementById("demo").innerHTML = days + "d " + hours + "h "
    + minutes + "m " + seconds + "s ";
    // If the count down is over, write some text
    if (distance < 0) {
        document.getElementById("demo").innerHTML = "EXPIRED";
}, 1000);


Templates / Re: SimpleDisk configuration
« on: September 07, 2021, 09:40:51 AM »
I don't think your question is related to AbanteCart. What is SimpleDisk?

This is a supporting ticketing management extension. here is the features: hxxps://

Templates / SimpleDisk configuration
« on: September 07, 2021, 09:08:41 AM »

I need your help and support to tell me if this Mod. will work on v1.3.1 or not and if yes, which one should be used? Have you test it and use it before ? what is your opinions and suggestion in this issue? How to configurate it on AbanteCart ?


New Features Discussion / Agreement Account Terms
« on: September 07, 2021, 08:58:40 AM »

In our business the client should check all boxes for (About Us - Privacy Policy - Return Policy - Shipping Policy - Terms and Conditions - GDPR) and confirm that he did read all contains included in all of those statements pages.  those sections should be checked one by one. These are the New terms now in Turkey to be sure there will not be any conflicts in the future between both sides seller and buyer. Also there is equivalent time for reading the statements will activate the checkbox to be clicked. for example: if the (About us page) takes around 5 min. to be read the checkbox will be activated after 5 min. only and not before.  ;D :D ;) :) . This is good point for next version :)

What do you think guys?

Templates / Re: Agreement Account Terms
« on: September 07, 2021, 08:20:09 AM »
Hello. Create a poll here,38.0.html
We will consider adding a feature if a lot user require it

how to make that exactly ??

Templates / Re: Agreement Account Terms
« on: September 03, 2021, 05:18:48 AM »

do you mean to compress all contents to one file? if this what you mean, technically could be a solution, but from the other side the client should agree on each specific content separately. this is something related to law section.

Hello. Can please share the link to that "law section"?

there is no link but this could be founded in Trading Ministry. Now in Turkey to stop the scamming issues of fake companies the Trading Ministry created a website where every official working company should register company's websites and they will get a logo brand which says this company in safe mood and can be deal with in business.

Templates / Re: reCAPTCHA on v1.3.1
« on: September 03, 2021, 04:45:04 AM »
I cannot see the reCAPTCHA logo on website's pages only and it is appearing only on forms pages. Why?


Recaptcha is loaded only where needed (where forms with captcha)

Thank you for sharing info, but i checked a lot of websites and i found that they have on 1st page located the reCAPTCHA logo and there wasn't any forms. Mostly companies using v3 because it is working on preventing VPN activities on their websites. In general it must be good idea to have v3 logo and effect on all pages of website.


for those who's needed to edit the quantity this post could help you.,9248.msg36573.html#msg36573

Templates / Re: reCAPTCHA on v1.3.1
« on: September 01, 2021, 06:05:57 AM »
If you enable Recaptcha v3 the keys also should be v3.
I don't think Recaptcha will work if you add it to the HTML block. There is a backend process to connect with google and validate ReCaptcha

Thank you for sharing information. I tested v3 too and it is also working fine on all forms too. I cannot see the reCAPTCHA logo on website's pages only and it is appearing only on forms pages. Why?


Templates / Currencies on website v1.3.1
« on: September 01, 2021, 04:04:39 AM »

1st of all, when we use on website the default currency for showing the prices for example USD the total showing on website admin side not correct.


When a client using the EUR currency to place the order, the total for example 100EUR but on admin side the total showing us 100USD. and the opposite true. Finally, in the end of working day if we take a look on totals of sales for today we see them all in one currency which been default on website showing prices. The correction should be made to show us how much total sales was separately for each currency i guess.

How to make the website show us exactly and correct data about the total depending on currency itself ??


Templates / Re: product's name position
« on: September 01, 2021, 03:52:06 AM »
See solution here

You can just replace your file with changed.

Thank you for report

I replaced the correct code as you mentioned. Everything is well. Thank you for your support.


Templates / Re: reCAPTCHA on v1.3.1
« on: September 01, 2021, 03:50:21 AM »
On your screenshot, you have enabled the Recaptcha v3. In this case, Recaptcha expects v3 keys.
The console show you have several javascript related errors. You should resolve them otherwise many site features may not work or glitch

Thank you Mr. BASARA, do you wanna say that if we are using v2 keys we cannot use v3 too on website? if yes, then this future of v3 should be removed from template i guess because this idea makes people confused here. However, i disabled my v3 on website and v2 worked again on all forms and everything is ok. By the way i created html block and inserted the reCAPTCHA v3 code inside it and activated on all layouts and it is showing on all pages on website but still not see any results on Google side. is that means something missing in the configuration or what ?


Pages: [1] 2 3 ... 18

Powered by SMFPacks Social Login Mod