Jump to content


alexpaul's Content

There have been 4 items by alexpaul (Search limited from 28-April 23)


By content type

See this member's

Sort by                Order  

#19039 Adding custom fields error

Posted by alexpaul on 07 August 2019 - 05:11 AM in OpenCart general discussions

Can anyone tell me how to add custom fields on the registration page as I am having an error in the code

function wooc_validate_extra_register_fields( $username, $email, $validation_errors ) {
      if ( isset( $_POST['billing_first_name'] ) && empty( $_POST['billing_first_name'] ) ) {
             $validation_errors->add( 'billing_first_name_error', __( '<strong>Error</strong>: First name is required!', 'woocommerce' ) );
      }
      if ( isset( $_POST['billing_last_name'] ) && empty( $_POST['billing_last_name'] ) ) {
             $validation_errors->add( 'billing_last_name_error', __( '<strong>Error</strong>: Last name is required!.', 'woocommerce' ) );
      }
         return $validation_errors;
}
add_action( 'woocommerce_register_post', 'wooc_validate_extra_register_fields', 10, 3 );

The reference tutorial I have see WooCommerce form and implemented all the steps following this tutorial 

 




#19038 What is difference between cloud hosting and VPS?

Posted by alexpaul on 07 August 2019 - 04:52 AM in OpenCart general discussions

I think we can't compare Cloud hosting and VPS as they both have their own features and specialties. I was using a shared hosting for my store and now recently I have migrated to cloud WooCommerce hosting and I have personally realized the difference using shared and cloud hosting. 




#19037 How to move WooCommerce to OpenCart - LitExtension

Posted by alexpaul on 07 August 2019 - 04:46 AM in OpenCart general discussions

I have recently migrated my store to Cloudways going through their migrate WooCommerce tutorial and now I am thinking to check out opencart as well but I am not sure whether I will create a new store or I will migrate that because might be it affect on my revenue migrating a huge store. What you suggest? Should I go for a trial and launch a demo store to see how it works?




#18678 Facebook pixel Code installation

Posted by alexpaul on 05 March 2019 - 12:29 PM in OpenCart general discussions

Can any one suggest for the facebook pixel code if they have implemented this or how we can do the setup also, how to add the product feed in facebooks ads manager. Once extension is here - it seems to be good but not sure - https://www.opencart...ension_id=28804

I think you can see a tutorial to install facebook pixel after that you can easily implement the steps that mention in the tutorial