sayedhussain96
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: User Meta DataI am not that Great with php, I am just asking, sure many ppl get data from DB to thier pages!
Forum: Developing with WordPress
In reply to: User Meta DataThat shortcode I found it working after trying so many and it serve my need.
for the date how can I get it from that timestamp from my Sql table ?
Forum: Developing with WordPress
In reply to: User Meta DataFor the Holder name
[su_user field="billing_first_name"] [su_user field="billing_last_name"]
For the National ID
[su_user field="billing_national_id"]
As simple as that!!
Forum: Developing with WordPress
In reply to: User Meta DataAs I found these values are saved in the DB as the Following
Payment 1638862664
Order 1638776264
Expiration 1638949064The Date are stored as timestamp, Each subscriber have three values (Payment, Order, expiration), and they are stored in “subscriptio_scheduled_events” the only table for the subscriptio plugin.
Forum: Developing with WordPress
In reply to: User Meta DataDears catacaustic and bcworkz,
So far on my card page I managed to get the username and national ID of the subscriber,
Now I want to get either the Subscription statue “Active or Expire”, or The subscription start from and End in.These values appears on My Account > Subscription tab, How can I get them from there to my card page?
My Card Page: https://futurediscard.com/my-card | The name and national ID Appears only for my subscribers, and the date is just text I wrote to see how It’s going to be.
And by the way I am using Subscriptio plugin for the subscription.
Thank you.
Forum: Developing with WordPress
In reply to: User Meta Dataform the subscription table in the dashboard the user subscription started on 2020-12-7, Here is the code of it from the inspect
<td class="started column-started" data-colname="Started"><span title="December 7, 2020 10:37 am">December 7, 2020</span></td>
I want to display the date of the subscription on the Card page, How can I do that?
Forum: Developing with WordPress
In reply to: User Meta DataYes I know how to echo it, Thank you.
Let say if i want instaed to get HTML element by class on that page how can i do it?
I tried with shortcode by no luck so far.Forum: Developing with WordPress
In reply to: User Meta DataHow can I use it with shortcode widget?
Forum: Developing with WordPress
In reply to: woocommerce shop pageI tried to locate the error and i found the it is in this snippet code, but unforttinatly i could not solve it.
$product_categories = get_terms( 'product_cat', $args ); echo "<h3 style='color:#4D8B55; text-align:center;'>- Product Categories -</h3>"; $count = count($product_categories); if ( $count > 0 ){ echo "<ul>"; foreach ( $product_categories as $product_category ) { echo '<li style="display:inline; padding: 5px 5px;"><a href="' . get_term_link( $product_category ) . '">' . $product_category->name . '</li>'; } echo "</ul>"; }
Forum: Developing with WordPress
In reply to: woocommerce shop pageHi kartik,
I have 3 columns in my shop page, the spacing between the products is not proper. notice how the is no space between the product columns.
Forum: Developing with WordPress
In reply to: Redirect Page After Payment Is CancelledI wrote this code in the cancel button:
"<?php echo $redirect = add_query_arg( 'order-pay', $order->get_id(), $order->get_checkout_payment_url( true ) ); ?>"
When I click cancel it redirect me to the same page that i am in.
I want the cancel button to redirect the customer to the cart page, I tried to modify it a bit but i didn’t have any luck.
Forum: Developing with WordPress
In reply to: Redirect Page After Payment Is CancelledUnfortunately there isn’t an option in the plugin, That’s way i am trying to modify the code.
This is my website: https://www.noohpharmacy.com
and this is a website the using the same plugin and was able to modify the code : https://www.Alrifaibh.comTry credit card payment the press cancel to see the different.
Forum: Developing with WordPress
In reply to: Sync Marg ERP with WoocommerceThank you Kartik, I will look into it.
Forum: Developing with WordPress
In reply to: Search Form on all pages.Thank you Vikas it worked perfectly.
in the post page also the same way ?
https://futurediscard.com/global-network-provider/Forum: Developing with WordPress
In reply to: Icons not loadingI did try your porposal but it was already the same.
The plugin Really Simple SSL Fixed the proplem.
Thank you Mr. vikas and Mr. fakhriaz