X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart reBOOT (reDUX) Template (https://forum.x-cart.com/showthread.php?t=77655)

sinobest 12-18-2022 04:46 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
I want to use the default editor and remove WYSIWYG editor. I found when I use your editor, some content will be modified by the editor.
or just use x-cart default editor.


tks

sinobest 12-18-2022 06:11 PM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
Would you pls add FAQ to the category also? same as the product page FAQ.

sinobest 12-19-2022 05:28 AM

Re: X-Cart reBOOT (reDUX) Template
 
How to set up the default Manufacturer, please?

Dougrun 12-19-2022 11:08 AM

Re: X-Cart reBOOT (reDUX) Template
 
question. I implemented google recaptcha as i was getting tons of bot accounts. google page says :
We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information.


I can see the code in reCAPTCHA_js.tpl, has it changed or been updated?


Code:

{literal}
<script>
var CaptchaCallback = function() {
  $('.g-recaptcha').each(function(index, el) {
    grecaptcha.render(el, {
      'sitekey':'{/literal}{$config.reCAPTCHA.reCAPTCHA_site_key}{literal}',
      'theme':'{/literal}{$config.reCAPTCHA.reCAPTCHA_theme}{literal}'
    });
  });
};
</script>
{/literal}
<script async defer src="https://www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit&hl={$shop_language|lower}"></script>
{*{if $main eq "catalog" && $cat eq "0"}{else}<noscript><meta http-equiv="refresh" content="0.0;url=home.php"></noscript>{/if}*}


PhilJ 12-20-2022 12:37 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Doug, no it hasn't changed as far as I know, but will be handy if you can send me over some screenshots / info of what the Google page says.

You can use the honeypots (for register and contact us forms) in conjunction with reCAPTCHA. Instructions are in the zip file /ADDONS folder.

Sometimes the honeypots are adequate enough on their own without reCAPTCHA.

PhilJ 12-20-2022 12:45 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Sinobest, I'll post instructions on how to revert to CKEditor here later on.

sinobest 12-20-2022 03:03 AM

Re: X-Cart reBOOT (reDUX) Template
 
would you please teach me how to add faqs on the category page, just like the product page, also?

Dougrun 12-20-2022 08:00 AM

Re: X-Cart reBOOT (reDUX) Template
 
1 Attachment(s)
Quote:

Originally Posted by PhilJ
@Doug, no it hasn't changed as far as I know, but will be handy if you can send me over some screenshots / info of what the Google page says.

You can use the honeypots (for register and contact us forms) in conjunction with reCAPTCHA. Instructions are in the zip file /ADDONS folder.

Sometimes the honeypots are adequate enough on their own without reCAPTCHA.





google screenshot

PhilJ 12-21-2022 12:32 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Doug, maybe obtain fresh API keys (v2, site and secret). Enter keys at /admin/configuration.php?option=reCAPTCHA
BTW, I noticed your contact form doesn't appear for some reason. Drop me a line if you need help.

Dougrun 12-21-2022 08:12 AM

Re: X-Cart reBOOT (reDUX) Template
 
it says the same thing for our vsrunningshoes.com site which i just created so i dont think its fresh keys, but i made a new one to test that anyway. We disabled the contact form on purpose. Its working fine so i'll just ignore the message.

PhilJ 12-21-2022 11:55 AM

Re: X-Cart reBOOT (reDUX) Template
 
@Sinobest, use these instructions to replace redactor editors with default editors. To remove others such as products FAQ answers may not be possible, so please don't ask. To add FAQs for categories will require custom work.

Dougrun 12-22-2022 02:40 PM

Re: X-Cart reBOOT (reDUX) Template
 
this page:
https://developers.google.com/recaptcha/docs/display#render_param


says :

Your onload callback function must be defined before the reCAPTCHA API loads. To ensure there are no race conditions:



so I moved the script above the other one to see if that matters.

PhilJ 12-23-2022 12:38 AM

Re: X-Cart reBOOT (reDUX) Template
 
Keep an eye on the browser console in case of any JS errors (F12)

sinobest 12-25-2022 06:34 PM

Re: X-Cart reBOOT (reDUX) Template
 
I enabled "Homepage style" 2, and I also enabled "Enable JSON category menu for https://safetylenscanada.com/, but the categories generated by JSON at the homepage do not display, how to do, please?

Dougrun 01-27-2023 01:18 PM

Re: X-Cart reBOOT (reDUX) Template
 
where can I edit the page shown when the store is closed? move severs and need a better explanation shown.

elmirage001 01-28-2023 10:05 AM

Re: X-Cart reBOOT (reDUX) Template
 
Quote:

Originally Posted by Dougrun
where can I edit the page shown when the store is closed? move severs and need a better explanation shown.


Hi Dougrun,

Look at the shop_closed.html files in the root. There should be _1 _2 _3 examples.

Paul

PhilJ 02-01-2023 04:08 AM

Re: X-Cart reBOOT (reDUX) Template
 
https://pluralistic.net/2023/01/21/potemkin-ai/#hey-guys

PhilJ 03-24-2023 03:05 PM

Re: X-Cart reBOOT (reDUX) Template
 
New CMS, work in progress.


All times are GMT -8. The time now is 10:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.