refresh button ?

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #103744

hi, look at my cart..






i have no refresh button... i dont know why...

if you want to try... beta.photographersfavorites.com/index.ph...isa-rothfuss-shirt-2

press on "in den warenkorb" and then in the corner on top left on "im warenkorb"...

allready spend much time to find the refresh button ><

code from card.php:
<td class="hikashop_cart_product_quantity_value">
                <input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>" type="text" name="item[<?php echo $row->cart_product_id;?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field){<?php echo $input; ?>}" />
                
                
                <?php if($this->params->get('show_delete',1)){ ?>
                  <div class="hikashop_cart_product_quantity_delete">
                    <a href="<?php echo hikashop_completeLink('product&task=updatecart&product_id='.$row->product_id.'&quantity=0&return_url='.urlencode(base64_encode(urldecode($this->params->get('url'))))); ?>" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if(qty_field){qty_field.value=0; <?php echo $input; ?> qty_field.form.submit();} return false;" title="<?php echo JText::_('HIKA_DELETE'); ?>">
                      <img src="<?php echo HIKASHOP_IMAGES . 'delete2.png';?>" border="0" alt="<?php echo JText::_('HIKA_DELETE'); ?>" />
                    </a>
                  </div>
                <?php } ?>
              </td>

Attachments:

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103746

Hi,

The empty lines you have in your code contains the refresh button.
But I Think you have overridden the view and removed these lines.

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: 28
  • Thank you received: 0
11 years 7 months ago #103812

aaah, thats embrassing.. maybe you are right.
so.. i have version 2.1.2 now i have make a new hika install to get the right code?
or you know where i can find cart.php in 2.1.2 in the web?.. just found 1.4.2...
www.phpkode.com/source/p/hikashop/front/...roduct/tmpl/cart.php

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103819

Hi,

You can't find any relevant source code information in the web. The file is directly in the HikaShop package.
If you made a view override, you can revert your modifications by using the "delete" icon in the view listing.
Your view override will be deleted and the original HikaShop file will be use normally.

							<td class="hikashop_cart_product_quantity_value">
								<input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>" type="text" name="item[<?php echo $row->cart_product_id;?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field){<?php echo $input; ?>}" />
								<div class="hikashop_cart_product_quantity_refresh">
									<a href="#" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field && qty_field.value != '<?php echo $row->cart_product_quantity; ?>'){<?php echo $input; ?> qty_field.form.submit(); } return false;" title="<?php echo JText::_('HIKA_REFRESH'); ?>">
										<img src="<?php echo HIKASHOP_IMAGES . 'refresh.png';?>" border="0" alt="<?php echo JText::_('HIKA_REFRESH'); ?>" />
									</a>
								</div>
								<?php if($this->params->get('show_delete',1)){ ?>
									<div class="hikashop_cart_product_quantity_delete">
										<a href="<?php echo hikashop_completeLink('product&task=updatecart&product_id='.$row->product_id.'&quantity=0&return_url='.urlencode(base64_encode(urldecode($this->params->get('url'))))); ?>" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if(qty_field){qty_field.value=0; <?php echo $input; ?> qty_field.form.submit();} return false;" title="<?php echo JText::_('HIKA_DELETE'); ?>">
											<img src="<?php echo HIKASHOP_IMAGES . 'delete2.png';?>" border="0" alt="<?php echo JText::_('HIKA_DELETE'); ?>" />
										</a>
									</div>
								<?php } ?>
							</td>
Please be careful when overriding a view but keep in mind that you can easily delete it to restore the original file if needed.

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.
The following user(s) said Thank You: ljrr

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

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #103837

very thank you.. next times when i change the view, first i will make a backup :)

now the button work... but when i change the quantity and press the refresh button the versandkosten(payment costs) disapear..

beta.photographersfavorites.com/index.ph...isa-rothfuss-shirt-2

if you want to try, fist put something in the cart and press "warenkorb"



and antother corious cautious is when you type in the adress and klick AGB. than go next and than go back - now the adress disappear and you cant cahnge it until you delete your cookies... its a buggy cautious?

Last edit: 11 years 7 months ago by ljrr.

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103877

Hi,

Right, when the cart is updating, the payment price is not reprocessed.
In the checkout controller, when the cart is updated, the shipping and payment are reprocessed if there are in the workflow.
I tried to reproduce it in my local website but it works.

The payment price seams not reprocessing when the cart is updated. But if you just display the first checkout step, the payment price will be there.
There was a similar bug in March and I fixed it. Could you update HikaShop with the latest version (2.1.3) ?

Thanks,


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: 28
  • Thank you received: 0
11 years 7 months ago #103912

when i go hikashop -> update i become: i am on the latest version.. 2.1.2.

when i search on hikawebsite.. cant find the right link?!

Last edit: 11 years 7 months ago by ljrr.

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103917

Hi,

HikaShop 2.1.3 will be accessible thanks to the automatic update very soon (it is planned for today).
But you can download manually the latest version in the "your subscription" section : www.hikashop.com/en/account/your-subscriptions.html

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: 28
  • Thank you received: 0
11 years 7 months ago #103919

i made the update.

the update have overwritten the frontend_default.css :( and all my icons..

well i can fix it but..

the problem i had is the same now. when i refresh the quantity, the shipping cost is away..

regards

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
11 years 7 months ago #103924

Hi,

You can create an override CSS file (a "frontend_custom.css" file) thanks to the HikaShop backend.
This file won't be overwritten during updates.
Modifying core/package files is not recommended, that's why you can override almost everything in HikaShop (views, css, emails, classes...).

About your shipping cost problem. Would it be possible to have an access to your backend and an FTP access ?
I will be able to make some tests (without touching anything else than HikaShop, for sure) and fix the problem.
You can send me such private information by private message.

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.
The following user(s) said Thank You: ljrr

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #104322

Hi,

The problem is because the "shipping" is not present in the "cart" step.
I tried to enable it, and the refresh work fine, but in this case you can't continue to checkout.

It's because you don't have correctly edited the shipping view. It's like the shipping method is not well selected.
What you can do is save your custom view in an external file, reset the default one by clicking on the dustbin in the views listing.
Then in the parameters, set to select by default the shipping method, and just do a "display: none;" on the div which is displaying the shipping methods.

Like that, the checkout will work like by default, and that without the display of the shipping methods as you want.

The following user(s) said Thank You: ljrr

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

  • Posts: 28
  • Thank you received: 0
11 years 7 months ago #105408

thank you for this great support. one of you fix it. the refresh funktion with the shipping works now. but the next(weiter(german)) button has now a refresh funktion :side:

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

Time to create page: 0.098 seconds
Powered by Kunena Forum