- This topic has 6 replies, 3 voices, and was last updated 6 years, 5 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Change info position inside a shortcode
How to change order inside shipping_info shortcode? Where I can change position?
For clarification… {shipping_info} is an email tag not a “shortcode.”
The results of that email tag are hard coded in the plugin. What is it, exactly, do you want to change about it?
I use {shipping_info} to show the customer’s address on the email notification when I made a sale.
currently looks like this
Mr xxx xxx
Route x y
City
Cap
Country
I need:
Mr xxx xxx
Route x y
Cap – City (this order and same line)
Country
It’s very important for our national post
Thank you so much
Alain
Hi, This will need a custom job.
If you are using this for drop-shipping type business, we can actually create an integration so it uses the API to send the info to that drop-shipping company’s site. This option is usually better than trying to use the email text.
Address that appears is somehow taken directly from PayPal payment. The only function I want to change is the alignment..
Cap and City.
I think it’s just an HTML code but I don’t in which page go to edit it.
I found information here
https://support.tipsandtricks-hq.com/forums/topic/additional-shortcodes-for-wp-photo-seller
Where I can find and change the alignment inside?
You can edit the code in the plugin. Look in the following file:
wp-photo-seller/model/WPSCommon.php
Search for the following in that file and then customize that whole line to your needs:
$shipping_info = $order->ship_address
There will 2 occurrences so modify both the lines.
Yessss it’s work! Thank you so much