Show Posts


Messages - HADY

Pages: [1] 2 3 ... 18
1
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) {
            return;
        }
        $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 ?

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

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?


Thanks...
 

3
Thank you


Thank you for editing my reply too.

4
Here is my suggestion to you :)




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

<script>
// 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) {
        clearInterval(x);
        document.getElementById("demo").innerHTML = "EXPIRED";
    }
}, 1000);
</script>

</body>
</html>

5
Templates / Re: SimpleDisk configuration
« on: September 07, 2021, 09:40:51 AM »
Hello.
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://xxx.simpledesk.net/download/features

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

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 ?


Thanks...

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

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?

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

how to make that exactly ??

9
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.

10
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?

Thanks...

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.


Thanks...

11
for those who's needed to edit the quantity this post could help you.



https://forum.abantecart.com/index.php/topic,9248.msg36573.html#msg36573

12
Templates / Re: reCAPTCHA on v1.3.1
« on: September 01, 2021, 06:05:57 AM »
Hello.
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
https://github.com/abantecart/abantecart-src/tree/master/public_html/core/vendors/google_recaptcha
https://www.bronco.co.uk/our-ideas/how-to-add-google-recaptcha-to-a-form-phphtml/


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?


Thanks...

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

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.

EXAMPLE:

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 ??


Thanks...

14
Templates / Re: product's name position
« on: September 01, 2021, 03:52:06 AM »
See solution here
https://github.com/abantecart/abantecart-src/commit/fcd86bf55816ae06d1356ba43ce125f0a4ca2add

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.

Thanks...

15
Templates / Re: reCAPTCHA on v1.3.1
« on: September 01, 2021, 03:50:21 AM »
Hello.
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

Hello,
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 ?


Thanks...

Pages: [1] 2 3 ... 18

Powered by SMFPacks Social Login Mod