Skip to main content

Add to cart button disappeared?

More
15 years 9 months ago #4471 by eyoung
Hi guys,

I've used Hikashop in the past and it worked great. I've just started building something new and have paired Hikashop with the latest version of Joomla. Just to be sure, I redid the refresher on how to setup the first purchase, except this time, after I've updated the shipping and payment methods, the "add to cart" button doesn't show up on the front end. Is this a feature that's been moved to the business version now or am I missing something..?

Thanks for any insight!

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

More
15 years 9 months ago #4473 by nicolas
Hi,

I'm not sure I understand. The 'add to cart' button is on the product page/products listing and unrelated to shipping and payment methods. It must be something else which caused the 'add to cart' button to disapear. For exemple, if you removed the prices of the product or if you activated the catalogue mode in the config under the tabd display.
It could also happen if you added characteristics to your product in several times and didn't manage your variants so that the variants reflects the characteristics (you would have a "no values found" for the characteristic on the product page, in that case.

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

More
15 years 9 months ago #4500 by eyoung
Hi Nicolas,

You're the man. You're right it was a combination of a few elements of the above. Thanks!

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

More
14 years 1 month ago #63932 by arnask
I've updated from 1.5.8 version to 1.6.0 and add to cart button disappeared. Whats that about?

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

More
14 years 1 month ago #64129 by nicolas
In the display tab of the configuration, you can turn it back on.

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

More
14 years 1 month ago #64138 by arnask
it's strange that after update something don't work. My local payment plugin doesn't work with new version too...

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

More
14 years 1 month ago #64198 by nicolas
What payment plugin are you using ?

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

More
14 years 1 month ago #64270 by arnask
local - WebToPay (webtopay.com)
support.webtopay.com/index.php?/webtopay...le/View/90/35/joomla
if someone can fix this and make this plugin work with newest hikashop, i'm ready for some small donation.

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

More
14 years 1 month ago #64392 by nicolas
Could you give more information on what is the problem ?
Do you have error messages ?

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

More
14 years 1 month ago #64416 by arnask
something is about total amount, its not in correct way. I've restored my server to last good config, so can not tell exactly. But if you need i can do it again and post all messages

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

More
14 years 4 weeks ago #64545 by nicolas
If we don't have the precise error it won't be possible to help you. If you want us to help you, we would need to know that at least.

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

More
14 years 1 week ago #67984 by gryttn
Hey Nicolas, I have the same problem as eyoung, my add to cart button suddenly disappered. I have checked these things you mention in your post, but it doesnt seem to bring the add-button back. I have been adding som multi-lingual text today, using FAlang, do you think this can have something to do with it?

Kind regards,

Gryttn

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

More
14 years 5 days ago #68143 by nicolas
Hi,

That are several options controlling the display of the add to cart button.
Check also the "show add to cart button" option of the Display tab of the configuration. It should be turned on.

I don't see how it could be related to Falang.

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

More
13 years 11 months ago - 13 years 11 months ago #71438 by arnask

nicolas wrote: If we don't have the precise error it won't be possible to help you. If you want us to help you, we would need to know that at least.

Nicolas, here is the error (the real amount shown in frontpage is 2,65):




here is the code, that error is pointing at:
Code:
<?php defined('_JEXEC') or die('Restricted access'); ?> <style type="text/css"> #w2pbutton { width: 167px; height: 25px; background: url('https://www.mokejimai.lt/payment/m/m_images/wfiles/i56je3562.png') no-repeat; border: none; cursor: pointer; margin: 20px 0; } </style> <div class="hikashop_webtopay_end" id="hikashop_webtopay_end"> <span id="hikashop_webtopay_end_message" class="hikashop_webtopay_end_message"> <?php echo JText::sprintf('PLEASE_WAIT_BEFORE_REDIRECTION_TO_X',$method->payment_name).'<br/>'. JText::_('CLICK_ON_BUTTON_IF_NOT_REDIRECTED');?> </span> <span id="hikashop_paypal_end_spinner" class="hikashop_paypal_end_spinner"> <img src="<?php echo HIKASHOP_IMAGES.'spinner.gif';?>" /> </span> <br/> <form id="hikashop_webtopay_form" name="hikashop_webtopay_form" action="https://www.mokejimai.lt/pay/" method="post"> <input id="w2pbutton" value="" type="submit" alt="<?php echo JText::_('PAY_NOW');?>" /> <?php foreach( $request as $name => $value ) { echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />'; } $doc =& JFactory::getDocument(); $doc->addScriptDeclaration("window.addEvent('domready', function() {document.getElementById('hikashop_webtopay_form').submit();});"); JRequest::setVar('noform',1); ?> </form> </div>
Last edit: 13 years 11 months ago by arnask.

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

More
13 years 11 months ago #71523 by nicolas
It means that $request doesn't exist.
That should be defined in the webtopay.php file. As you didn't provide it I can't see why that happens. Could you attach that file too ?

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

More
13 years 11 months ago #71550 by arnask

nicolas wrote: It means that $request doesn't exist.
That should be defined in the webtopay.php file. As you didn't provide it I can't see why that happens. Could you attach that file too ?

nicolas, attached all files. Please help, because with the previous version of hikashop was everything ok.

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

More
13 years 11 months ago #71731 by nicolas
The problem comes from that line of code:
'amount' => 100*$order->order_full_price,
in the file webtopay.php
It should actually be:
'amount' => (int)100*$order->order_full_price,

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

More
13 years 11 months ago #71766 by arnask

nicolas wrote: The problem comes from that line of code:
'amount' => 100*$order->order_full_price,
in the file webtopay.php
It should actually be:
'amount' => (int)100*$order->order_full_price,

that doesn't work.
But if i put
100*(int)$order->order_full_price
than it goes through process but instead of 2.65 price, webtopay.com receives only 2 and emails me an error message.
The following user(s) said Thank You: nicolas

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

More
13 years 11 months ago #72114 by nicolas
I contacted webtopay.com so that they can fix that on their end.

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

More
13 years 11 months ago #72404 by arnask

nicolas wrote: I contacted webtopay.com so that they can fix that on their end.

i've contacted them long time ago and they said that with previous version of hikashop was everything ok, so its hikashop's fault :)
it seams im now in very good position :(

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

Time to create page: 0.386 seconds
Powered by Kunena Forum