Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Change info position inside a shortcode

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Change info position inside a shortcode

  • This topic has 6 replies, 3 voices, and was last updated 7 years, 1 month ago by Alainintra.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 24, 2018 at 2:59 pm #14892
    Alainintra
    Member

    How to change order inside shipping_info shortcode? Where I can change position?

    May 24, 2018 at 5:37 pm #77892
    wzp
    Moderator

    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?

    May 25, 2018 at 9:15 pm #77893
    Alainintra
    Member

    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

    May 26, 2018 at 4:46 am #77894
    admin
    Keymaster

    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.

    May 26, 2018 at 11:55 am #77895
    Alainintra
    Member

    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?

    May 27, 2018 at 1:21 am #77896
    admin
    Keymaster

    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.

    May 29, 2018 at 7:33 am #77897
    Alainintra
    Member

    Yessss it’s work! Thank you so much

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ