cart button not working

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #361

hi support...
i just installed hikashop yesterday and all went well until...
i don't know why...
but suddenly my "put in cart" button (which should go to checkout page actually) doesn't work at all.
if i click the button, it just went to "home" page.

so i have tried uninstall and reinstall the extension...not working...

uninstall and delete the database, then reinstall...not working...
this time the button only bring 404 error every time i clik it.

i don't know is there anything i did wrong or what..
if there's any way, please someone help me...
i'm using sh404SEF component, is there any problem with it?

thanks for all...

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #363

Hi,

Could you give the URL of your website so that we can have a look at the problem ?

In the configuration under the tab display you have the option "After a product is added to the cart". The behavior might change based on whether you have the cart module published or not if you use the default option. If you put the option "Always go to the checkout", does it work better ?

The following user(s) said Thank You: happiexy

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #364

hi Nicolas,

here's the URL:
bequick-japan.com/muffler
it's in japanese, but you can check the "Order" menu there
"Order" menu is using hikashop.
you want to check the back end also?

i've tried "Always go to the checkout" but still nothing.

FYI, i have compared the demo site and mine,
the demo site button also pointing to the website "home" page if we hover on it
but if we click it, it went to the "checkout" page.
but mine went to "home" page, not the "checkout"

thanks for your reply.
cheers!!

Last edit: 14 years 1 month ago by red_liong13. Reason: wrong URL

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #365

I checked your website and on that page the javascript function which is called by the link is missing. Thus, instead of adding the product to the cart, it uses the link url.
I think I know why you have this javascript function missing.
In the file administrator/components/com_hikashop/helpers/cart.php near line 130 and line 149, you should have the code below:

$doc = JFactory::getDocument();
If you replace each line by the code
$doc =& JFactory::getDocument();
, I think it might fix the problem. If so, we will also add the modification in the next release which is to come soon.

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #366

hi Nicolas,

thanks for your quick response..
it works half way for the site.
now i can put the purchased goods into the cart module.
but still, it doesn't go to the "Checkout" page.
it still showing 404 error...
with or without the module, i cannot proceed to "Checkout" page.

thanks again for the support!!

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #367

So that's now another issue.
This one seems to be related to SEF indeed. When I try to go directly to the checkout with the link bequick-japan.com/muffler/index.php?opti...kashop&ctrl=checkout , the link is changed by the SEF to bequick-japan.com/muffler/order/checkout.html which doesn't work.
I'll try on my test website what happens with SH404SEF... If I have the same problem, then it's probably something we can fix in hikashop. Otherwise, it's possible that it's a problem of configuration in your SH404SEF.

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #369

hi Nicolas,

i got it!!
i turned off the sh404SEF for hikashop and all work!!

and inside the "sh404SEF" component, "View/Edit Custom Redirect",
there's ".../index.php?option=com_hikashop&ctrl=checkout" redirected to ".../order/checkout.html"
it happened automatically i suppose.
but this is the first time that "View/Edit Custom Redirect" do it automatically.

i tried to turn on "sh404SEF" again and yes, the auto redirect happened again.

i hope it help you ease the research...

thanks a lot,
appreciate it so much!!

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #375

Hi,

I tested hikashop with SH404SEF on my test website. So it works properly, except when I purge the url cache. After that, the first time it displays a blank page. If I refresh the page, it works. Then, it works all the time. I also have the url added automatically in the custom redirects interface, so apparently that is normal.
The problem might be related to the option "redirects non SEFed URLs". I have it turned on on my test website which is the default value. But if I turned it off, it doesn't work anymore.
We use the exact same implementation of the sh404sef router as acymailing and we know for sure that it works with AcyMailing, so there is no reason it wouldn't work for HikaShop. Plus, in our tests, we successfully had it working with HikaShop so all I can think of is a problem of configuration of SH404SEF. I would advise you to seek help on that at the SH404SEF support. They know their component better than us :)

The caching of urls in SH404SEF creates a lot of problems for a very limited benefit compared to the normal SEF of Joomla. If you can't make the SH404SEF work on your website for HikaShop, I would recommand to switch to Joomla SEF for HikaShop (there is an option for that in the configuration of SH404SEF where you can use normal Joomla SEF for a specific component).

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #397

thanks for the advice and the hard work..

i have another question, it's not related to the cart problem anymore.
it's about the login/registration form.
it's not working.
after i fill in all the needed information and click submit/register.
nothing happened, there's no announcement about new user has been created and please check the email (not like your demo site).
it just go back to the registration form page.
there's also no new user information on the mail nor the back end at all.
did i miss any plugins?

i already turned on the user-hikashop plugin.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #398

In the current version, if you have the state custom field published and required and that you select a country without states the registration won't work. Is that the problem you have ?
In that case, you could unrequire or unpublish the state custom field temporarily until next release which should be out in the next few days and which fixes the problem.

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #399

hi nicolas,

no, not that.
at first i have not-require the state and country but still cannot.
i have tried your way to unpublished them.
but still cannot.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #405

I tried to place an order on your website but when I click on "会計へ進む" I get a blank page, probably related to the SEF problem. How did you manage to reach the login/registration page ?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #407

I had to clean my cookies. Then I was able to access to the checkout. I indeed had the problem you described.
Could you give an FTP access to your website so that I can put some traces and fix the problem ? If so, you can send me the information to This email address is being protected from spambots. You need JavaScript enabled to view it.

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #408

hi nicolas,

i turned off the sh404SEF since this morning.
so i think there won't be the problem.
or maybe it because the cookies and cache?
would you try to clean the cookies and cache?
because i can go to registration form just by normal way.
try to purchase something, it went to the cart box, i click the "会計へ進む"
and there it is...

thanks for the reply...=)

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
14 years 1 month ago #410

Hi,

Thanks to the access, we quickly found the problem and corrected it on your website and on our dev website. It comes from the fact that you're using HikaShop in Japanese. I must say that we tested it mainly in English so we didn't find the problem before. We will release a new version with the correction soon.

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

  • Posts: 8
  • Thank you received: 0
14 years 1 month ago #491

hi Nicolas,

thank you for your support and quick respond.
everything works fine for now.
sorry not responding to the email yesterday...

regards,

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

  • Posts: 15
  • Thank you received: 0
10 years 5 months ago #161193

I can not be able to go to checkout in mine. please help


:)


fFull-stack

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

  • Posts: 12953
  • Thank you received: 1778
10 years 5 months ago #161414

Hello,
Can you download the last Hikashop version through our website, install it, and test it again ?
Thanks.

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

Time to create page: 0.102 seconds
Powered by Kunena Forum