Skip to main content

The wishes can not be deleted

10 years 9 months ago #229305 by neo191987
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.26

Hello if you create a Wishlist then can not be deleted.
The administration may only.

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

10 years 9 months ago #229311 by Jerome
Hi,

I'm sorry but I can't reproduce your issue in our demo website.
First, I checked that I don't have any wishlist, then I added one product to a wishlist and finally, in the listing of wishlist, I delete the wishlist (with success).
demo.hikashop.com/index.php/en/other-fea...s/cart_type-wishlist

Regards,

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

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

10 years 9 months ago #229440 by neo191987
Hi, I tested your demo and there work. I shot video of the problem. Will point out that he just cancel the quantity but the list remains.
youtu.be/R-Rx0km5odQ

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

10 years 9 months ago #229462 by nicolas
Hi,

Then the problem might come from your template. Rename the folder templates/YOUR_TEMPLATE/html/com_hikashop/cart/ via FTP and that will deactivate all the view overrides on the cart/wishlist manager of the frontend. Hopefully, the delete button will then work.

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

10 years 9 months ago #230017 by neo191987
Hello I apologize for the late reply I do not use override but put the older version - 2.6 everything works. The new watch more problems like the disappearance of the stars of assessment and error when switching from page 1 of 2 for example.

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

10 years 9 months ago #230032 by Xavier
Hi,

Please give us a test account to reach your website and process some tests.

Here are the informations for the stars:
www.hikashop.com/support/documentation/3...-hikashop-2-6-1.html

Regarding the page switching could you give us more informations ?

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

10 years 9 months ago #230423 by neo191987
Hello I managed to make some of the problems. Stars assessment came after redesing and the transition from one page to another is conflict with the template. There remains the problem of the wishlist. If I replace the files (showcart, showcarts ) from 2.6.0 running smoothly. I will send you a private message with access to the test site.

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

10 years 9 months ago #230480 by Xavier
Hi,

Please try to replace the line:
Code:
<a class="hikashop_no_print" href="<?php echo hikashop_completeLink('product&task=updatecart&stay=1&delete=1&quantity=0&cart_type='.$cart_type.'&cart_id='.$cart->cart_id.'&cart_product_id='.$cart->cart_product_id.'&return_url='.urlencode(base64_encode(hikashop_currentURL())).$url_itemid); ?>" title="<?php echo JText::_('HIKA_DELETE'); ?>">
By:
Code:
<a class="hikashop_no_print" href="#" title="<?php echo JText::_('HIKA_DELETE'); ?>" onclick="var qty_field = document.getElementById('hikashop_product_quantity_field_<?php echo $cart->product_id;?>'); qty_field.value = '0'; <?php echo $input; ?> qty_field.form.submit(); return false;">

In the view "cart / showcart".

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

10 years 9 months ago - 10 years 9 months ago #230559 by neo191987
Hi unfortunately no results.
Last edit: 10 years 9 months ago by neo191987.

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

10 years 9 months ago #230606 by Xavier
Hi,

To sum up, when you use the view from 2.6.0 everything is working fine, but with the 2.6.1 version of the "cart / showcart" view you can't delete a product, right ?

The code I gave is the only code modified between the two views which impact the way we delete the product.
So that should work, do you have any cache enabled on your website ?

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

10 years 9 months ago #230648 by neo191987
Hi everything works fine version 2.6.0.
In 2.6.1 button does not erase the desire but only canceled quantity.
In list view missing both the delete button and current.
I think not use caching.

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

10 years 9 months ago - 10 years 9 months ago #230745 by neo191987
I was able to correct these problems by changing the code:
cart/showcart
from
Code:
<a class="hikashop_no_print" href="#" title="<?php echo JText::_('HIKA_DELETE'); ?>" onclick="var qty_field = document.getElementById('hikashop_product_quantity_field_<?php echo $cart->product_id;?>'); qty_field.value = '0'; <?php echo $input; ?> qty_field.form.submit(); return false;">
of
Code:
<a href="<?php echo hikashop_completeLink('product&task=updatecart&delete=1&quantity=0&cart_type='.$cart_type.'&cart_id='.$cart->cart_id.'&cart_product_id='.$cart->cart_product_id.'&Itemid='.$Itemid); ?>" title="<?php echo JText::_('HIKA_DELETE'); ?>">

and cart//showcarts you miss some code that does not allow to display icons
Code:
$userCurrent = hikashop_loadUser();
of
Code:
$userCurrent = hikashop_loadUser(true); if(isset($userCurrent)) $userCurrent = $userCurrent->id; else $userCurrent = 0;
and
Code:
<?php if($userCurrent){ ?>
of
Code:
<?php if($userCurrent != 0){ ?>
Last edit: 10 years 9 months ago by neo191987.

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

10 years 9 months ago - 10 years 9 months ago #230946 by neo191987
Hello I want to ask you something else associated with the above problem. After the aforementioned correction everything works fine. Now I want to ask you delete a product from the module wishes product is not removed from wishlist but also be canceled quantity as before the adjustment. Maybe I dabble but should not work on the principle of the basket when he pushed the delete button to remove it completely from the list.
Last edit: 10 years 9 months ago by neo191987.

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

10 years 9 months ago #231024 by Xavier
Hi,

Sorry but I'm not sure to understand correctly this second issue.
Could you give me an example of the problem ? Was this working fine before the 2.6.1 version ?
If it is, you could potentially use the "old" view of "product / cart".

We will do more checks on this feature on our side.

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

10 years 9 months ago #231072 by neo191987
Hi problem is following in 2.6.1 action button to delete a product from wishlist is as follows when pressing the delete button he canceled quantity but does not remove the product from the list. When 2.6.0 the action is this when I press the delete button it removes it from the list as it should be. Right now I want to do so if possible and wishes module when pressing the delete button to remove it from the list and not canceled just quantity.

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

10 years 9 months ago - 10 years 9 months ago #231076 by neo191987
I did exactly as I want. I will not occupying your attention more with that.
I wanted to do: youtu.be/eZ2BYwieIrk
Last edit: 10 years 9 months ago by neo191987.

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

10 years 9 months ago #231142 by Xavier
Hi,

Glad to see that you were able to make it work as expected.
We will see what is causing this issue in the 2.6.1 release.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum