Forum Replies Created
-
Never mind, fixed it!
in reply to: Show Stock statusHi there,
I found some new settings which can help with this issue.
In our shop we want all products to be sellable, to manage that I have to set the product-details-inventory to ‘manage inventory, accept backorders’ like shown in the attached product-details screenshots.
(sorry the screenshots are in dutch, so I hope you understand it)
But WC then sets all products to ‘in stock’ and the message on the product page (we set with the code above) is then always ‘in stock’ with the in stock delivery time. (I added the delivery time to the code you send me.)Now I found a way to set the product-details-inventory settings which can help us with is.
If I set the in stock products like the screenshot -Product details in stock ‘op voorraad’- those products have ‘op voorraad’ as stock status in the product overview in the backend, see attached screen shot. (op voorraad = in stock)Then I set the out of stock product like the screenshot -Product details in backorder ‘in nabestelling’- those products will have ‘in nabestelling’ as stock status in the product overview in the backend, see attached screen shot. (in nabestelling = in backorder)
So can we change the code I’m using now to these stock statuses?
So instead of
if(‘outofstock’ = it should be something like
if(‘in backorder’ =I tried this, but it didn’t work, so I don’t know what I should wright there. And I not sure if it even works like this…
I honestly hope you understand what I’m saying, because it’s hard to explain.
Hope to hear from you soon!
Thanks in advance.Attachments:
You must be logged in to view attached files.in reply to: Show Stock statusHi There,
This topic was actually resolved, but now I do have a question.
Now it is not possible to order out-of-stock products in the shop, but the customer wants to make it possible to have backorders.
When I set ‘backorder possible’ in the WC-settings, the message we created with the code above changes to the in-stock message. Even tough the product is out-of-stock.
The in-stock message should be; In stock, delivery within 1-2 weeks.
The out-of-stock message should be; Out of stock, delivery within 4-6 weeks.But somehow WC shows the same message for in-stock products and out-of-stock products.
So can we make the in-stock and out-of-stock message different form each other, with the possibility of backorders enabled?
Hope you can help me again!
Thanks in advance!in reply to: Show Stock statusOké thanks for your responce!
in reply to: out-of-stock notification on shop pageFixed that also, sorry to bother you…
Thanks for your great help!!
in reply to: Show amount of payment in terms next to priceSorry, got it already by using CSS.
It is below the price now, can I add it next to the price, on the right?
in reply to: Show amount of payment in terms next to priceOh this is great! Thanks!
1 more thing; this is now also shown on my shoppage and I only need it on my productpage. Do I fix this with CSS or can we change the code 1 more time?
in reply to: Show amount of payment in terms next to priceGreat thanks!
And how do I display the amount of payment term above it?
That should be the amount of ‘Price divided by 3’.
(Like in the example 189.67) (3*189.67=569,-)Hope you know how to do that too!
in reply to: Show amount of payment in terms next to priceUh no…
My site have price 569,- but if customer can’t pay it in 1 time, customer can pay in 3 times.And Yes, it would be great if you could help me to display text after price.
Text should be;
‘small amount’ (price divided by 3) (so is different per product)
in 3 termijnen. (fixed for every product)Hope it’s clear now. If not, what is your native language? I can translate it.
in reply to: Show amount of payment in terms next to priceHi,
Okay, let me explain again;In this shop it is possible to pay in 3 times, if you can’t pay the whole amount at once.
The total price for the product is 569,-. So if you pay that price in 3 times, you pay 3 times 189.67 = 569,-The total price need to be shown in big numbers, next to that the term amount (in this example 189.67) in smaller numbers, like the screen shot I send earlier.
Hope it’s clear now!
Please let me know.in reply to: Show amount of payment in terms next to priceI found an other way to do this, by using the code below.
Attached you can see the button on top of the page.Thanks for your help!
add_action( ‘woocommerce_before_cart_table’, ‘woo_add_continue_shopping_button_to_cart’ );
function woo_add_continue_shopping_button_to_cart() {
$shop_page_url = get_permalink( woocommerce_get_page_id( ‘shop’ ) );echo ‘
‘;
}Attachments:
You must be logged in to view attached files.in reply to: ‘Carry on shopping’-button on cart pageHi,
569 is indeed the price, 189.67 is the amount term. (3 times 189.67 = 569)
Yes, 3 is fixed for all products.It would be great if you could help!
Thanks.in reply to: Show amount of payment in terms next to priceHi,
No it’s no product metadata, it would be ‘price divided by 3 = amount’.
Is that possible?
Or would metadata be possible? Maybe then I could create it…in reply to: Show amount of payment in terms next to priceOh that’s not nice of WC 😉
Sorry to say but then I’ll rather have the ‘verder winkelen’ button below the coupon code. Is that also possible?
in reply to: ‘Carry on shopping’-button on cart pageHi,
It does work!
Only the order of buttons isn’t what I’d like it be, also in responsive settings.Could you help me with that also?
I made an example of what I’d like it to be. See attached.Hope you can/will help!
Attachments:
You must be logged in to view attached files.in reply to: ‘Carry on shopping’-button on cart page