News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#1
Quote from: Milbo on Yesterday at 17:10:45 PMuse the hidden config reuseorders, just add reuseorders="" in the file

Okay, so this will probably bring out a lot more Pending or Cancelled orders? is that the only thing that will happen?

And it probably is

reuseorders=0

instead of

reusorders=""
#2
use the hidden config reuseorders, just add reuseorders="" in the file
#3
Quote from: Milbo on Yesterday at 16:38:45 PMIf a user does cancels the payment, there is an old pending order. First we just tried to use this order, but that created trouble, so this function should just delete this cancelled order.
It uses the orderId/ordernumber of the cart.

Okay but is it possible it deletes an order that is pending and after it then is paid? How is it possible that an order is paid and the system deletes the order?

Is it possible to disable this function? Or is it necessary ??

Or isn't it possible that an order that is pending and then paid, and is this order removed by an adminsitrator?
#4
If a user does cancels the payment, there is an old pending order. First we just tried to use this order, but that created trouble, so this function should just delete this cancelled order.
It uses the orderId/ordernumber of the cart.
#5
Hello

I have an order that is deleted. I cannot see if this is done by the system or by a user. In the model I have found this function:

deleteOldPendingOrder

Is it possible that the system deleted this order? The user actually paid the order after, so it paid a deleted order. In the database I can see the order_items still and it shows "Order deleted" in the comments which corresponds with the remove method in the tables file.

I find it weird because a lot of times i have Pending orders in my order list, and then a Confirmed order by the same user. Why does the system removes some orders and not the others? What is the treshhold for this? I find it weird that it removes orders it should never do this?
#6
General Questions / Cannot change my shipping addr...
Last post by finbarr69 - Yesterday at 10:25:57 AM
I'm trying to buy a bronze membership for VM (having previously had one that has expired) and it still has my old postal address in it (which might affect a card payment) but when I click on My Account to change the shipping address, it refreshes the page but otherwise nothing happens.


#7
Hi
We've copied and migrated an older site (J-3.10.12/VM 4.2.4) to J-5.1/VM 4.2.8. and re-designed it.

Now we are about to go live with the new site - but need to import the latest data from the older VM (users, orders...)

How can this properly done?
Buying an extension for that job would not be a problem.

Is the Virtuemart Migrator able to do that?

Or would you have another recommendation?

Thanks
Roger
#8
How can I remove products from cart via php? Or prevent the adding of products via PHP? I tried returning false in the cart.php but it's not working, the product is still being added.

Okay I found the following:

unset($cart->cartProductsData[$k]);
$cart->setCartIntoSession();
$cart->prepareCartData();

i have coded this into the main cart file, but that is a core chagne which isn't a good practice. So now I need to use a plugin and probably use one of the hooks, but i', not sure which one yet so i need to keep reseraching to find the answer, if anyone knows, I'll be advised!
#9
I get an error from Virtuemart productdetails page:

/index.php?option=com_virtuemart&view=productdetails&task=recalculate&format=json&nosef=1&lang=nl-NL

This comes from accessing my product page.

Error message data:
E_ERROR:1 0: Illegal offset type in file: /administrator/components/com_virtuemart/models/product.php line: 1172

If I check the line it has something to do with the cache. The cache gives a lot of issues anyway, so if I can disable it ouright would be great

self::$_cacheOpt[$virtuemart_product_id] = $opt;
#10
Maybe this is a better idea to just add stock to the custom fields so when it reaches 0 it will not display. The value keeps in the database etc, so the administration of the orders won't be scrambled (see my previous post)

You can ofcourse work with child products, but I think it's a better user experience to just add a simple stock field for the custom fields.