Скорей всего это из-за того что где-то подключается еще один компонент корзины, например в header.php, рассмотрим удаление через AJAX.
JS
<script>
function delfrombasket(ID) {
var deletebasketid = ID;
$.ajax({type: ‘POST’, url: «/ajax/basket_del.php», data: { deletebasketid: ID }, success:function(result){ window.location.reload(); }
});
}
</script>
PHP
<a href=»/personal/basket/?action=delete&id=<?=$arItem[‘ID’];?>» onclick=»delfrombasket(<?=$arItem[‘ID’];?>)»></a>
ajax/basket_del.php
<? require_once («../bitrix/modules/main/include.php»);?>
<?CModule::IncludeModule(«sale»);
CModule::IncludeModule(«catalog»);
CSaleBasket::Delete($_REQUEST[«deletebasketid»]);
?>
Не удаляется товар из корзины Битрикс (как удалить товар из корзины)
Wow, fantastic weblog format! How lengthy have you been blogging for?
you made running a blog glance easy. The full glance of your website is fantastic, as
neatly as the content! You can see similar here
najlepszy sklep
Wow, fantastic weblog format! How long have you been blogging for?
you made running a blog look easy. The total look of your web site is great, as well as the content material!
You can see similar here dobry sklep
Wow, superb blog format! How lengthy have you been blogging for?
you make blogging glance easy. The entire glance of your site is wonderful,
let alone the content material! You can see similar here sklep internetowy
Wow, wonderful weblog format! How lengthy have you ever been blogging for?
you make running a blog look easy. The entire look of your site is fantastic, let alone the content!
You can see similar here sklep
Valuable information. Fortunate me I discovered your web site unintentionally, and I am surprised why this accident did not happened earlier! I bookmarked it. expand your blogexpander
Hello! Do you know if they make any plugins to assist with SEO?
I’m trying to get my blog to rank for some targeted
keywords but I’m not seeing very good success. If you know of any please share.
Thanks! You can read similar article here: Dobry sklep
Hi there! Do you know if they make any plugins to help with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains.
If you know of any please share. Cheers! You can read similar article here: Najlepszy sklep
Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for
some targeted keywords but I’m not seeing very good results.
If you know of any please share. Kudos! I saw similar article here: Scrapebox AA List