Page 1 of 1

Please,how to place an active reCaptcha code into your cart?

PostPosted: Mon May 11, 2015 9:46 am
by eumedia
Nice day,
Please, how to place an active reCaptcha code into your cart?
(illustration on the attached picture)
Thank you
Roman

Re: Please,how to place an active reCaptcha code into your cart?

PostPosted: Mon May 11, 2015 3:08 pm
by admin
hello, if your captcha plugin is written in a joomla's core captcha way, so it uses the same event triggers to draw and check captcha, you only need to enable this option here:
http://snag.gy/cg8xu.jpg

if your captcha uses it's own logic to render it's inputs, and it's not similar to the most used plugins around (joo recaptcha or key captcha), it may need to get modified to run on opc's pages, or opc needs to get modified to print it's code if it has a proper event for it.

we can either check this on your site via FTP, or you can send us your plugin with it's config options (api access or anything else needed) and we can test it on our vm3/j3 site at vm2.rupostel.com/purity

the empty cart issue shown on your print screen may come from:
- a cookie control plugin or your theme which prevents cookie creation before user agrees on cookie policy (cookies are required for cart functioning so each page can be assiciated with a specific customer's browser and it's session content - cart)
- your cookie is misconfigured (https vs http, or cookie path, cookie domain, etc... ) -> it seems that the cookie is not shared among the ajax process and the main visit/request
- your php is configured to auto-start cookie and the error reporting in some context (either main thread or ajax) may alter the session's config (auto started session may not be the same as joomla's session)

best regards, stan, rupostel.com

Re: Please,how to place an active reCaptcha code into your cart?

PostPosted: Mon May 11, 2015 8:24 pm
by eumedia
Thank you for the answer, it is necessary to adjust the placement Captcha.

Re: Please,how to place an active reCaptcha code into your cart?

PostPosted: Tue May 12, 2015 1:34 pm
by admin
hello, to move it a bit lower, you can do this:

locate this file over ftp:
\components\com_onepage\themes\sandwitch (your selected theme at the display tab)\onepage.unlogged.tpl.php

locate this line:
Code: Select all
<?php echo $captcha; ?>


and you can try this (not tested):

Code: Select all
<div style="margin-top: 30px; float: left; clear; both;">
<?php echo $captcha; ?>
</div>


best regards, stan