supadigital
Forum Replies Created
-
Hi
Normally the Credit card option is available IMMEDIATELY – BEFORE having to sign in to PayPal, so that customers without paypal accounts can make credit card payments. This is the case with the Course for $49, but not the case for the $5 payment.
Any thoughts?
Thanks again for liaising on this with me.
Hi
Thanks so much for the response, much appreciated. I 100% understand that this is most likely a paypal restriction of sorts. Nevertheless, as requested, please see the $5 product below and then the $49 dollar product link further below – which DOES have the credit card payment option:
https://staging5.michellemcfadyen.com/shop/download-harmony-in-hustle-a-blueprint-for-work-life-balance/
https://staging5.michellemcfadyen.com/shop/online-course-imposter-syndrome-recognising-and-reframing/I look forward to any feedback and thoughts. Especially appreciated as I understand this is slightly out of your scope.
Thanks again!
Hi @ammiribsf
Thanks for your quick response, much appreciated.
I have actually decided on a workaround for the issue as I seem to think it’s related to ASTRA theme settings – something that I cannot fix, nor change at this point in time. Therefore the workaround will work just fine.
But I thank you for your response and for a fantastic plugin that I am still making use of in this project.
Thanks again.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Getting related post permalink valueThanks so much for the feedback. I managed to do a workaround on this and forgot to close this ticket, apologies. Thanks though for your assistance, very much appreciated!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Getting related post permalink valueHi @keraweb
I am actually needing to use the relationship field within a javascript code snippet and it seems magic tags don’t work in scripts?
Basically, what I am trying to do is get the permalink of the related pod by inserting the title of the that pod into the code snippet.So when setting up an fsp_product, there is a relationship field that returns the title of a related pod post (product_thank_you_pa). I then insert that title into javascript snippet in order to get the permalink of that post and attach it to a variable in javascript which i then use later in the snippet for a redirect.
I have tried various snippets (I’m not too knowledgeable in coding, but rather using chaptgpt for snippets) but nothing works thus far. Any assistance would be appreciated. If its out of support scope, i understand. Thanks.
Below is one example of a snippet i used, but this returned an error: Uncaught ReferenceError: Pods is not defined
<script>document.addEventListener("DOMContentLoaded", function() {// Get the selected "product_thank_you_pa" title from the related fieldvar selectedTitle = Pods.getField('fsp_product', 'fsp_product_thank_you_page_url').find('option:selected').text();// Find the corresponding "product_thank_you_pa" by titlevar productThankYouPa = Pods.data.product_thank_you_pa.find(function(item) {return item.title === selectedTitle; });// Set the "url" variable to the fsp_product_thank_you_page_url of the selected "product_thank_you_pa"var url = productThankYouPa.fsp_product_thank_you_page_url;// Use the "url" variable as neededconsole.log(url); });</script>Forum: Plugins
In reply to: [Contact Form 7] Categorize/Group Forms in Admin@takayukister YEah, i figured out that the post_meta was required, and it DID work. The only problem I have now is that forms have different thank you pages. So not sure if there is a way to redirect to a different page depending on the campaignId value?
I dont expect you to assist with this, just checking if you know of any easy solution.
THANK YOU so much for your assistance on this. Very much appreciated!
Forum: Plugins
In reply to: [Contact Form 7] Categorize/Group Forms in Admin@takayukister – You might have just made my life 100 times easier! THANK YOU! So what your are saying is that I can create a custom field for campaign_id and then simply default the form campaign_id to that field using the GET function in the form…. I think is what you are saying.
I will give this a go and let you know how it goes. But I understand the logic and I will be able to create a custom field. So hopefully the GET function picks out the field once defined on each product page.
THANK YOU 1 million times! Much appreciated!
Forum: Plugins
In reply to: [Contact Form 7] Categorize/Group Forms in Admin@takayukister Thank you so much for your response.
Basically, the forms are being used for lead generation website. Each form has to have a specific campaign ID manually set within the form itself as a hidden field that gets sent to an external API.
The forms are used on different “product” pages (each with a unique campaign ID) that capture user’s data. So we need a form for each different “product”.
You can see what I mean if you visit the site (currently staging) and navigating to the various INSURANCE, MONEY or AUTO menu options and clicking on GET A QUOTE for each product:
Website: https://www.staging.switchsaver.co.za/
Sample Product page with form: https://www.staging.switchsaver.co.za/fsp-products/assupol-funeral-insurance-2/
I didn’t want to define a campaign id in the product page URLs, so each form needs to be unique for each product.
Hope this makes sense. If you have a better way of assigning a campaign ID to each form for each product, I would love to hear your thoughts 🙂
Thanks again!
Provided a positive review just now. Thanks so much once again!
Hi
Firstly, thanks for the SUPER quick response. And secondly, this makes sense and I will implement accordingly. Thanks you so much for your assistance. Very much appreciated!! You rock!
Forum: Fixing WordPress
In reply to: Error with update_core.php after updating manuallyHi again
Just a quick heads-up that I managed to sort this out. Basically, I tried the manual install by uploading to the client server over and over and it kept giving issues. So what I did was create a fresh install on my own server using the softaculous wordpress installer in CPANEL. Then I simply transferred the /content folder and the wp-config file to the new installation on my server. So all the other rubbish that was in the htaccess and root folder and stuff was no longer present and everything was a-okay from thereon in.
Just wanted to take this opportunity to thank you so much for your assistance, it is very much appreciated. Keep up the good work and keep doing what you’re doing!
Thanks man!
Forum: Fixing WordPress
In reply to: Error with update_core.php after updating manuallyThanks so much for the code and assistance once again.
I have done as requested and there were no timezones or anything displayed at the top of the page or anywhere else.
Does this mean that the manual update was incomplete possibly, or that there is an error in the database or something? Should I attempt to re-install the update package?
Let me know next steps and I will do the necessary as well as sponsor you a beer once this is all sorted. haha. Thanks so much. I look forward to your next steps.
Forum: Fixing WordPress
In reply to: Error with update_core.php after updating manually@benniledl
Thanks so much.I also thought it had something to do with timezone at one stage, so I went to set the timezone on the general settings page, BUT, I also get an error on that page in the backend and the “Save settings” button is not available as a result, so I am unable to edit any settings on this page. The page displays as normal and the current timezone is set to UTC, but then the date format option just shows a single bullet/dot that I am able to select, but then displays a critical error message immediately thereafter without actually listing any of the date option:
‘Date Format
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.’
Is it possible to somehow set the date format and timezone manually via the database or something? Or do you have any other ideas? Bearing in mind that this is all as a result of updating manually to latest version of wordpress from an older version that wasn’t compatible with php8.0 which is now a compulsory php version as the host has deprecated 7.4 and older.
Thanks so much. Any further ideas would be greatly appreciated.
Forum: Fixing WordPress
In reply to: Error with update_core.php after updating manuallyThanks so much for the clarification. I have added the code where you requested, and then error remains:
Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1046 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1046
There is no test_debug file in the wp-admin folder thereafter either.
PLEASE NOTE: I am unable to trigger any updates as the updates are not listed on the updates page. Literally all I get when opening the UPDATES page in the backend is this:
WordPress Updates Here you can find information about updates, set auto-updates and see what plugins or themes need updating. Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1046 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1046 There has been a critical error on this website. Please check your site admin email inbox for instructions. Learn more about troubleshooting WordPress.That’s all that displays.
I added your code at the following surrounding code just for clarification:
$last_update_check = true; $current = get_site_transient( 'update_core' ); file_put_contents("test_debug.log", "current->last_checked : ".gettype('$current->last_checked')." ".$current->last_checked."\n get_option( gmt offset ): ".gettype(get_option('gmt_offset')*HOUR_IN_SECONDS)." ".get_option('gmt_offset') * HOUR_IN_SECONDS); if ( $current && isset( $current->last_checked ) ) { $last_update_check = $current->last_checked + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS; } echo '<h2 class="wp-current-version">'; /* translators: Current version of WordPress. */ printf( __( 'Current version: %s' ), get_bloginfo( 'version' ) ); echo '</h2>';Apologies if I’m doing something incorrectly. I look forward to your thoughts once again. Thanks so much.
Forum: Fixing WordPress
In reply to: Error with update_core.php after updating manually@benniledl
Thanks again for your response and assistance thus far.I added the code and received the following slightly more lengthy error:
Warning: Undefined variable $current in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043 Warning: Attempt to read property "last_checked" on null in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043 Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1043 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043 There has been a critical error on this website. Please check your site admin email inbox for instructions.Please let me know your thoughts. And again – thanks so much for your assistance thus far.