andyzz8
Forum Replies Created
-
Thanks @yorman
Thank you so much @pomegranate @kluver
I used:
<?php if( $item['product_id'] == '16' ) { printf( '<img src="%s/uploads/test1.png" />', untrailingslashit( WP_CONTENT_DIR ) ); } ?> <?php if( $item['product_id'] == '17' ) { printf( '<img src="%s/uploads/test2.png" />', untrailingslashit( WP_CONTENT_DIR ) ); } ?>
There might be a better way of doing this but it seems to work for now!
At some point I will need to figure out how to add product specific text too.Thanks for that @kluver
For example, I want image ‘test1′ to be on the invoice when product ’16’ is purchased, image ‘test2′ to be on the invoice when product ’17’ is purchased ect.
I tried the below but no image appeared on the invoice.
I added this to the invoice template:<?php if( $item_id == '16' ) { echo '<img src="https://example.com/wp-content/uploads/test1.png" />'; } ?> <?php if( $item_id == '17' ) { echo '<img src="https://example.com/wp-content/uploads/test2.png" />'; } ?>
Hi Ewout,
Thanks for the message and the plugin!
The product / product variation thumbnail isn’t what I am after.
I guess I will need to use this:
get_template_path(); ?>/image.jpg”/>;
but I don’t know how to change it to select image X for product X, image Y for product Y, ect.Found this but I don’t think it is suitable:
if ($reviews[‘reviews’][‘freshness’] == ‘fresh’) {
$image = “fresh”;
}
else {
$image = “rotten”;
}echo ‘‘;
- This reply was modified 6 years, 9 months ago by andyzz8.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce uncategorized category problemI think the update causes it to default to ‘uncategorized’. Just uncheck the setting in the product page.
Hi D Smith!
Thanks for the message.
No, I have not customised the plugin’s code (i tried and it didn’t work out for me, so I reverted the changes I made). The plugin is up to date and the code is not altered it in any way.
This problem occurs when a customer refreshes a page (either the product page, checkout page or the basket page). This also happens when they click on the same product page link more than once.
To be honest, it may not be the plugin, it may something to do with caching? I don’t know.
Thanks for looking in to this.
Sorry, it seems this is not an issue with woo.
same here, this issue started a few days ago for me.
Currently affecting two different websites.
I didn’t actually know it was due to an update…mine updates automatically.Forum: Plugins
In reply to: [WooCommerce] paypal redirect showing white screendid anyone find a solution to this?
Hi
Is your issue solved by just enabling the ‘Require Billing Address’ & ‘Require Phone Number’ in the plugin settings? (for virtual products)
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Order confirmation emails do not work@mcsupport Thanks for the info.
Strangely, I can’t seem to create a ticket with my woocommerce account (my email has been verified). Alternatively, I can create a pre-sales ticket if you like?
I get the first screenshot (but with different wording: ‘Got a PayPal account? Log In or?Pay with debit or credit card’…maybe it is a UK version).
For the second screenshot, I get a ‘Deliver to’ section above the ‘Pay with’ section. (the Deliver to section has the address the customer enter on the checkout page)
I enabled ‘PayPal checkout on the cart page’ and the same thing happened ??
I don’t know what else I can try?
Hi @jessepearson,
Yes everything is up to date.
WC version: 3.1.0
WP version: 4.8
PHP version: 7.0.14/5.6.29 (tried on two different websites)
WooCommerce PayPal Express Checkout Payment Gateway: 1.4.1Product settings:
All products are virtual.
Product data setting: Variable product.
No SKU set. No shipping class.
A custom product attribute is used for variations. All variations are enabled and virtual. I don’t think there are any other virtual product type settings I have missed.Woocommerce settings are:
Selling location(s): ‘sell to specific countries’
Shipping location(s): ‘disable shipping and shipping calculations’
Add to basket behaviour: Redirect to the basket page after successful addition – Check-mark / Ticked
Enable AJAX add to basket buttons on archives – Not Ticked
Guest checkout is enabled.
WooCommerce PayPal Express Checkout Payment Gateway is the only payment option.
The purchases are made via the payment button on the checkout page (not the basket page)
Customer registration is not enabled.PayPal Express Checkout Payment Gateway settings:
Checkout on cart page: Not Enabled
PayPal Mark: Enabled
Billing Address not required.
Landing Page: Billing
Payment Action: sale
Instant Payments required: Ticked/enabledThank you for looking into this!
It is a serious claim.
Doesn’t the developer want to respond?
It would be helpful if they confirmed or denied the above claims.