Hikashop checkout page

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325288

Hi Jerome,

1. On checkout page of HikaShop if we login from there it will logged in the user but the login menu still appear, because page did not refresh. can you please let me know the solution for this.
2. And also if don't want to show the login and register form only the link to my login or register page how can i proceed with this.
3. Or can we check if the user is logged in or not when they add product from the product listing page and redirect to login or register page if not logged in.
4. If i want to edit something in checkout.js file how to override that.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
4 years 5 months ago #325310

Hi,

1. If you only have the "login" view on the current step of the checkout, the checkout will automatically redirect to the next step after the login, which will fully refresh the page. You can configure the views and steps of your Checkout workflow under the Checkout tab of the HikaShop configuration.
2. You can use the "access level" setting of your menu item to restrict the access to the menu item to only guest users. In that case, when a logged in user access the menu item, Joomla should deny him the access.
3. You can't do that during the add to cart process. However, what you can do is this:
- configure a menu item of the type "HikaShop checkout" and restrict it to logged in users
- select that menu item in the "force a menu on checkout" setting of the HikaShop configuration
- configure the HikaShop cart notification plugin via the Joomla plugins manager to redirect to the checkout after a successful add to cart.
That way, add clicking on the add to cart button, the user will be directed to the checkout, and if he is not logged in, he will be redirected to the login form of Joomla.
4. the simplest is to edit the file show.php from the view "checkout" via the menu Display>Views and there add such code at the end:

<script>
window.checkout.submitStep = function() {
alert('you clicked on the next/finish button');
};
</script>
This code will redefine the submitStep function from the checkout.js file so that it will display the message "you clicked on the next/finish button" when you click on the next/finish button instead of submitting the data of the current step to go to the next step.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325350

Thanks Nicolas for replying,
Implemented as you suggested works Great :)

One more query Nicolas Can you please let me know where to change on checkout page as i have to move payment below the cart total.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325355

HI Nicolas,

You can't do that during the add to cart process. However, what you can do is this:
- configure a menu item of the type "HikaShop checkout" and restrict it to logged in users
- select that menu item in the "force a menu on checkout" setting of the HikaShop configuration
- configure the HikaShop cart notification plugin via the Joomla plugins manager to redirect to the checkout after a successful add to cart.
That way, add clicking on the add to cart button, the user will be directed to the checkout, and if he is not logged in, he will be redirected to the login form of Joomla. ---

Implemented as you suggested but found one issue.
When add to cart if no login redirect to login page works fine but issue is that if i not logged in and then got to product page and add product to cart it simply add to the cart and user is not logged in means check only works once can you please let me know the issue here..

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
4 years 5 months ago #325354

Hi,

Do you mean that you want to change the payment selection location and the cart location ?
You should be able to do that via the "checkout workflow" setting under the Checkout tab of the HikaShop configuration.
There, you can move each view's position on each step.

I'm sorry but I don't understand what you mean by

When add to cart if no login redirect to login page works fine but issue is that if i not logged in and then got to product page and add product to cart it simply add to the cart and user is not logged in means check only works once can you please let me know the issue here..

Last edit: 4 years 5 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325453

Hi Nicolas

Thanks for your feedback, I have override the add to cart functionality :woohoo:

So on checkout page of stripe plugin i'm getting some warning:-

Notice: Undefined property: stdClass::$order_product_dimension_unit in /var/www/html/remofit/administrator/components/com_hikashop/classes/order.php on line 1280

Notice: Undefined property: stdClass::$order_product_length in /var/www/html/remofit/administrator/components/com_hikashop/classes/order.php on line 1284

Notice: Undefined property: stdClass::$order_product_dimension_unit in /var/www/html/remofit/administrator/components/com_hikashop/classes/order.php on line 1280

Notice: Undefined property: stdClass::$order_product_length in /var/www/html/remofit/administrator/components/com_hikashop/classes/order.php on line 1284


I'm using latest version of Hikashop and Joomla.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
4 years 5 months ago #325492

Hi,

We've added a patch for that. Download again the install package of the 4.4.0 on our website and install it on yours and it will add the patch for these notices.

The following user(s) said Thank You: remofit

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325527

Hi thanks for replying Nicolas.

One concern about if i download and install Hikashop again, do i need to configure Hikashop again or is their anything from where i can backup my settings of back end. Or if u remember the files where you have changes so that i can replace only those file on production it's hard to configure again on production. Hope you understand my concern. :)

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
4 years 5 months ago #325534

Hi,

Installing the install package will just update the files. It won't change your settings.
So normally it should be smooth for you to do.
Now, you never now if something will go wrong, so I still recommend you to do a backup that you can restore, just in case.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 5 months ago #325535

Thank you so much Nicolas really appreciated .

The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 4 months ago #326348

Hi

1. Whenever i used PayPal recurring method on sandbox mode it give me the following error.

Things don’t appear to be working at the moment.


Attached screenshot below for your reference.

2. On subscription listing page i don't see cancel subscription option can you please let me know is their any configuration for that?

Thanks

Attachments:
Last edit: 4 years 4 months ago by remofit.

Please Log in or Create an account to join the conversation.

  • Posts: 26222
  • Thank you received: 4035
  • MODERATOR
4 years 4 months ago #326380

Hello,

1 - Please access to your Paypal log in your Paypal Dashboard ; it will give you more details about refused "transactions" in their hand.
www.hikashop.com/support/documentation/1...nt-paypal-error.html

2 - The "cancel subscription" is only available when the recurring is enabled.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 1
4 years 4 months ago #326485

Hi

Thanks for the feedback. Now cancel subscription option is enabled on recurring subscription but whenever i cancel subscription it show :-

You need to login to your PayPal account and cancel the subscription in the Pre approved payments


Another point here is i don't see upgrade option on recurring plans can you please explain is their any limitation of upgrade.

Please Log in or Create an account to join the conversation.

  • Posts: 26222
  • Thank you received: 4035
  • MODERATOR
4 years 4 months ago #326525

Hello,

There is no API for Paypal Recurring to allow a customer to cancel a subscription via the e-commerce store.
That's why, the plugin does display that message while the customer is asking to cancel its subscription.
But if the customer do follow the instruction and perform the cancellation via its Paypal profile (in the paypal website), your store will receive a notification and the plugin will mark the subscription as "no recurring".

Like it's not possible to cancel a recurring via your website ; it's also not possible to change the recurring values.
So you can't upgrade a subscription which do have recurring.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum