abulow
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] “read more”Thank you for returning, I will try and just at Woocommerce.
Forum: Plugins
In reply to: [WooCommerce] “read more”Forum: Plugins
In reply to: [Variation Swatches for WooCommerce] Attribute TypeHi Ahmed
My version is 1.0.78It’s just a shame because it works on the other products I have, I don’t stand for it.
https://snipboard.io/st8aIR.jpg
https://snipboard.io/IagAd8.jpgAnnette
Forum: Plugins
In reply to: [ATUM WooCommerce Inventory Management and Stock Tracking] Discount errorI have to live with that, I’m not starting to put VAT at all cost prices.
But thank you for the answer 🙂Annette
Forum: Plugins
In reply to: [ATUM WooCommerce Inventory Management and Stock Tracking] Discount errorI do not have to add VAT to get the right cost, my purchase price is without VAT, so I figured that when I made a purchase order that it was without VAT, and the price I type per. product.
Annette
Forum: Plugins
In reply to: [Bambora Online ePay] Missing pop up payment windowIs not there anyone who can tell me where to put them here tags:
function fix_url ($ url)
{
$ url = str_replace (‘&’, ‘& amp;’, $ url);
$ url = str_replace (‘& amp;’, ‘&’, $ url);return $ url;
}I’ve tried some wrong things, nothing worked 🙁
- This reply was modified 7 years, 10 months ago by abulow.
Forum: Plugins
In reply to: [Bambora Online ePay] Missing pop up payment windowHello again
I may be asking a little stupid.
But where do I put these lines in her ???function fix_url ($ url)
{
$ url = str_replace (‘&’, ‘& amp;’, $ url);
$ url = str_replace (‘& amp;’, ‘&’, $ url);return $ url;
}Do you want to show me where 🙂
/ **
* receipt_page
** /
public function receipt_page ($ order_id) {
$ order = wc_get_order ($ order_id);
$ is_request_to_change_payment_method = Bambora_Online_Classic_Helper :: order_is_subscription ($ order);$ order_currency = Bambora_Online_Classic_Helper :: is_woocommerce_3 ()? $ order-> get_currency (): $ order-> get_order_currency ();
$ order_total = Bambora_Online_Classic_Helper :: is_woocommerce_3 ()? $ order-> get_total (): $ order-> order_total;
$ minorunits = Bambora_Online_Classic_Helper :: get_currency_minorunits ($ order_currency);$ epay_args = array (
‘encoding’ => ‘UTF-8’,
‘cms’ => Bambora_Online_Classic_Helper :: get_module_header_info (),
‘windowstate’ => $ this-> windowstate,
‘mobile’ => Bambora_Online_Classic_Helper :: yes_no_to_int ($ this-> enablemobilepaymentwindow),
‘merchantnumber’ => $ this-> merchant,
‘windowid’ => $ this-> windowid,
‘currency’ => $ order_currency,
‘amount’ => Bambora_Online_Classic_Helper :: convert_price_to_minorunits ($ order_total, $ minorunits, $ this-> rounding mode),
‘orderid’ => str_replace (_x (‘#’, ‘hash before order number’, ‘woocommerce’), ”, $ order-> get_order_number ()),
‘accepturl’ => Bambora_Online_Classic_Helper :: get_accept_url ($ order),
‘cancelurl’ => Bambora_Online_Classic_Helper :: get_decline_url ($ order),
‘callbackurl’ => apply_filters (‘bambora_online_classic_callback_url’, Bambora_Online_Classic_Helper :: get_bambora_online_classic_callback_url ($ order_id)),
‘mailreceipt’ => $ this-> authmail,
‘instantcapture’ => Bambora_Online_Classic_Helper :: yes_no_to_int ($ this-> instantcapture),
‘group’ => $ this-> group,
‘language’ => Bambora_Online_Classic_Helper :: get_language_code (get_locale ()),
‘ownreceipt’ => Bambora_Online_Classic_Helper :: yes_no_to_int ($ this-> ownreceipt),
‘timeout’ => ’60’,
);Annette
Forum: Plugins
In reply to: [WooCommerce] Move the pillsMy theme is unfortunately updated.
Then there is no more to do ?????Forum: Plugins
In reply to: [WooCommerce] ordrebekræftelse på e-mails.Hi
Can you tell me where to put my question around the pdf.fil that will not be sent with my new order.
I can not see what the problem is.Annette
Forum: Plugins
In reply to: [WooCommerce] ordrebekræftelse på e-mails.Hi
I’ve got it to work 🙂
But I have a questionnaire more, even about email to my customers, I would like to send a pdf.fil together with my order confirmation.
I have entered a code here:
http://abpettoys.dk/wp-content/themes/storeone-pro/functions.php<? Php
// http://bryceadams.com/add-pdf-woocommerce-order-email/
add_filter (‘woocommerce_email_attachments’, ‘attach_terms_conditions_pdf_to_email’, 10, 3);
function attach_terms_conditions_pdf_to_email ($ attachments, $ status, $ order) {
$ allowed_statuses = array (‘new_order’, ‘customer_invoice’, ‘customer_processing_order’, ‘customer_completed_order’);
if (isset ($ status) && in_array ($ status, $ allowed_statuses)) {
$ your_pdf_path = get_template_directory (). ‘/themes/storeone-pro/Handelsbetingelse….pdf’;
$ attachments [] = $ pdf_path;
}
return $ attachments;
}But it does not work 🙂
Should I make a new thread ???
Annette
Forum: Fixing WordPress
In reply to: link a pdf.filThis case is resolved.
I have a case with a <? PhpForum: Fixing WordPress
In reply to: Handelbetingelser med ordrebekæftelseHow do I link pdf.fil to php ???
Is it with an html file ???Forum: Fixing WordPress
In reply to: Handelbetingelser med ordrebekæftelseCan not you exactly where to go ???
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] how do I correct it in my languageHi
Sorry for the inconvenience.
I’ve found out.Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] how do I correct it in my languageYes, it is the “back message” I have for return, which I would like in my language.