manigopal
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] get limited fields onlywhereas we need only …
“products”: [{
“name”: “”,
“image”: “”,
“price”: “”,
“description”: “”,
“seller_name”: “”,
“seller_email”: “”,
“seller_number”: “”,
“seller_location”: “”,
“deposite”: “,
“monthly_rent”: “”
},yes we use wcmp-plugin
Forum: Plugins
In reply to: [WooCommerce] get limited fields onlyEg: https://woocommerce.github.io/woocommerce-rest-api-docs/?php#list-all-products
we are getting huge datas,
[
{
“id”: 799,
“name”: “Ship Your Idea”,
“slug”: “ship-your-idea-22”,
“permalink”: “https://example.com/product/ship-your-idea-22/”,
“date_created”: “2017-03-23T17:03:12”,
“date_created_gmt”: “2017-03-23T20:03:12”,
“date_modified”: “2017-03-23T17:03:12”,
“date_modified_gmt”: “2017-03-23T20:03:12”,
“type”: “variable”,
“status”: “publish”,
“featured”: false,
“catalog_visibility”: “visible”,
“description”: “<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\n”,
“short_description”: “<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\n”,
“sku”: “”,
“price”: “”,
“regular_price”: “”,
“sale_price”: “”,
“date_on_sale_from”: null,
“date_on_sale_from_gmt”: null,
“date_on_sale_to”: null,
“date_on_sale_to_gmt”: null,
“price_html”: “”,
“on_sale”: false,
“purchasable”: false,
“total_sales”: 0,
“virtual”: false,
“downloadable”: false,
“downloads”: [],
“download_limit”: -1,
“download_expiry”: -1,
“external_url”: “”,
“button_text”: “”,
“tax_status”: “taxable”,
“tax_class”: “”,
“manage_stock”: false,
“stock_quantity”: null,
“in_stock”: true,
“backorders”: “no”,
“backorders_allowed”: false,
“backordered”: false,
“sold_individually”: false,
“weight”: “”,
“dimensions”: {
“length”: “”,
“width”: “”,
“height”: “”
},
“shipping_required”: true,
“shipping_taxable”: true,
“shipping_class”: “”,
“shipping_class_id”: 0,
“reviews_allowed”: true,
“average_rating”: “0.00”,
“rating_count”: 0,
“related_ids”: [
31,
22,
369,
414,
56
],
“upsell_ids”: [],
“cross_sell_ids”: [],
“parent_id”: 0,
“purchase_note”: “”,
“categories”: [
{
“id”: 9,
“name”: “Clothing”,
“slug”: “clothing”
},
{
“id”: 14,
“name”: “T-shirts”,
“slug”: “t-shirts”
}
],
“tags”: [],
“images”: [
{
“id”: 795,
“date_created”: “2017-03-23T14:03:08”,
“date_created_gmt”: “2017-03-23T20:03:08”,
“date_modified”: “2017-03-23T14:03:08”,
“date_modified_gmt”: “2017-03-23T20:03:08”,
“src”: “https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg”,
“name”: “”,
“alt”: “”,
“position”: 0
},
{
“id”: 796,
“date_created”: “2017-03-23T14:03:09”,
“date_created_gmt”: “2017-03-23T20:03:09”,
“date_modified”: “2017-03-23T14:03:09”,
“date_modified_gmt”: “2017-03-23T20:03:09”,
“src”: “https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg”,
“name”: “”,
“alt”: “”,
“position”: 1
},
{
“id”: 797,
“date_created”: “2017-03-23T14:03:10”,
“date_created_gmt”: “2017-03-23T20:03:10”,
“date_modified”: “2017-03-23T14:03:10”,
“date_modified_gmt”: “2017-03-23T20:03:10”,
“src”: “https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg”,
“name”: “”,
“alt”: “”,
“position”: 2
},
{
“id”: 798,
“date_created”: “2017-03-23T14:03:11”,
“date_created_gmt”: “2017-03-23T20:03:11”,
“date_modified”: “2017-03-23T14:03:11”,
“date_modified_gmt”: “2017-03-23T20:03:11”,
“src”: “https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg”,
“name”: “”,
“alt”: “”,
“position”: 3
}
],
“attributes”: [
{
“id”: 6,
“name”: “Color”,
“position”: 0,
“visible”: false,
“variation”: true,
“options”: [
“Black”,
“Green”
]
},
{
“id”: 0,
“name”: “Size”,
“position”: 0,
“visible”: true,
“variation”: true,
“options”: [
“S”,
“M”
]
}
],
“default_attributes”: [],
“variations”: [],
“grouped_products”: [],
“menu_order”: 0,
“meta_data”: [],
“_links”: {
“self”: [
{
“href”: “https://example.com/wp-json/wc/v2/products/799”
}
],
“collection”: [
{
“href”: “https://example.com/wp-json/wc/v2/products”
}
]
}
},Forum: Plugins
In reply to: [WooCommerce] WooCommerce API is not workingits doesnt worked for me too. i too get the same issue
When requesting the product API, getting the following response:
{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Sorry, you cannot list resources.”,
“data”: {
“status”: 401
}
}Forum: Networking WordPress
In reply to: multi-site with same contenti have created a base website and made into multi-site..
multi-site is working but the contents which i added in base site is not showing at the sub-site i created.
Forum: Plugins
In reply to: [WooCommerce Product Fees] showing below the product’s base priceForum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisyes, that worked well. Thanks for your Support.
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisSorry about the last one,
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisSure,
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisHi @felipeelia
#FelipeElia
Still i dont get anything at the mail.,
have a look at my Code,
https://pastebin.com/gqWub0MrForum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thiseven i tried like this., but doesnt worked
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use this@felipe Elia
It worked fine at Frontend display but the mail arrives as follows
Prescription(s) to be Transferred
No, please only transfer the prescriptions listed below:
Drug Name : [drug-name]
RX Number : [rx-number]
Transfer Notes : [transfer-notes]Checked : [fill-my-prescription] [hold-my-prescription]
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisForum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use thisbad luck still not working
already wordpress has jQuery includes,
wp-includes/js/jquery/jquery.js?ver=1.12.4
wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
and the code used overall,
<h2 class=”short”>Patient Information</h2>
<div class=”row”>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”first-name”>First Name *</label>
[text* first-name id:first-name class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”last-name”>Last Name *</label>
[text* last-name id:last-name class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<label for=”birth-date”>Birth Date *</label>
[date* your-date min:1950-01-01 max:2018-12-31 step:7 class:required “2013-04-01″]
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-email”>Your Email Address *</label>
[email* your-email id:contact-email class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-home-phone”>Home Phone *</label>
[text* home-phone id:contact-home-phone class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-mobile-phone”>Mobile Phone *</label>
[text* mobile-phone id:mobile-phone class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-address”>Address *</label>
[text* contact-address id:contact-address class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-city-town”>City or Town*</label>
[text* contact-city-town id:contact-city-town class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-province”>Province *</label>
[text* contact-province id:contact-province class:form-control]
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”contact-postal-code”>Postal Code *</label>
[text* contact-postal-code id:contact-postal-code class:form-control]
</div>
</div><div class=”col-lg-12″>
<h2 class=”short”>Transferring Pharmacy Location</h2>
</div><div class=”col-lg-6″>
<div class=”form-group”>
<label for=”existing-pharmacy”>Existing Pharmacy *</label>
[select* existing-pharmacy include_blank id:existing-pharmacy class:existing-pharmacy “Alberta” “Edmonton”]</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group”>
<label for=”pharmacy-phone”>Pharmacy Phone Number *</label>
[text* pharmacy-phone id:pharmacy-phone class:form-control]
</div>
</div><div class=”col-lg-12″>
<h2 class=”short”>Prescription(s) to be Transferred</h2>
<h5>Please provide us with drug name or prescription number for each of the prescriptions you would like to transfer to Chappelle Pharma.</h5>
</div>[field_group drug-details id=”drug-details”]
<div class=”col-lg-12″>
[radio prescription-transferred id:prescription-transferred default:1 “Yes, please transfer all of my prescriptions to Rexall” “No, please only transfer the prescriptions listed below:”]
</div><div class=”col-lg-6″>
<div class=”form-group drug-name”>
<label for=”drug-name” id=”drug-name”>Drug Name *
[text* drug-name class:form-control] </label>
</div>
</div>
<div class=”col-lg-6″>
<div class=”form-group rx-number”>
<label for=”rx-number” id=”rx-number”>RX Number *
[text* rx-number class:form-control] </label>
</div>
</div>
<div class=”col-lg-12″>
<div class=”form-group transfer-notes”>
<label for=”transfer-notes” id=”transfer-notes”>Notes *
[textarea* transfer-notes 100×10 class:form-control] </label>
<label for=”fill-my-prescription” id=”fill-my-prescription”> [checkbox fill-my-prescription “Fill my prescription as soon as the prescription transfer is complete.”]</label>
<label for=”hold-my-prescription” id=”hold-my-prescription”> [checkbox hold-my-prescription “Hold prescription until I request a fill.
“]</label>
</div>
</div>[/field_group]
<hr>
<div class=”col-lg-12″>
<h3 class=”short”>Important Note</h3>
<h6>Chapelle Pharma is committed to protecting the privacy of our customers’ information. Any and all information provided on this form will be kept strictly confidential in accordance with our privacy policy.</h6>
<h6>By submitting this form you are giving consent for a Chapelle Pharma representative to contact the transferring pharmacy indicated to complete your prescription transfer request.</h6>
</div><div class=”col-lg-12″>
<div class=”form-group”>
[submit class:btn class:btn-primary class:btn-lg “Request Transfer”]
</div>
</div>
</div><script language=”javascript” type=”text/javascript”>
// Hide the Text field by defaultjQuery( document ).ready( function( $ ) {
$( ‘#drug-details’ ).css( ‘display’, ‘none’ );
$( ‘input[name=”prescription-transferred__1″]’ ).on( ‘click’, function() {
var checked = $( ‘input[name=”prescription-transferred__1″]:checked’ );
if ( ‘No, please only transfer the prescriptions listed below:’ == checked.val() ) {
$( ‘#drug-details’ ).show();
} else {
$( ‘#drug-details’ ).hide();
}
} );
} );
</script>Thanks for fixing up the issue.
Forum: Plugins
In reply to: [Contact Form 7 - Repeatable Fields] how to use this[text* drug-name class:drug-name class:form-control] — as this intimates for text field alone so i used it for <div class=”form-group drug-name”> — entire div