rashmirai
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] how add link to breadcrumb for the current product categoryI know that, but my boss says as per SEO perspective we need to add ??
example site :-
Forum: Plugins
In reply to: [WooCommerce] how add link to breadcrumb for the current product categoryI tried switching it to default theme but cant get any result–
I think you didnt got my question-
I am trying to figure out how to make the current product category’s breadcrumb be a link rather than just text.Ex:
Home >> Category >> subcategory“Home” and “Category” are links to their respective pages, but “subcategory” is text. I want to add a link to the breadcrumb for “subcategory” so it shows up in rich snippets in search results. Currently, SERPs are displaying the link to “Category” instead of “subcategory”.
Is there a way to make the breadcrumb for the current page be a link instead of plain text?
Here is the link to my site-
https://www.leatherright.com/mens-bottomwear-leather-clothingNow here I have Home → Mens Leather → Bottomwear
I have a link to Home & Mens Leather to thier respective URLs But bottomwear is just a plain text.
I am lay to code so can you pls tell me a solution in detail?
plz help!
Thanksbut it doesnt allow to add the .php extension to it we can only add the Product category base & product base in it… I want to add .php to the product and product category pages like
I have already added
Custom Structure https://mysite.com /%postname%.phpbut its affecting only the wordpress posts not the product & category page
can you pls be specific how to do that?
so wht can i do to avoid the validation for state and country on page load any idea???
hi mike i tried,
.woocommerce-invalid .select2-container .select2-choice{
border-color:red;
}
but what it does is when the user goes to the checkout page by default if no value is selected for the state and country field the border color shows red only for state and country. unlike the other text input fields where when the user clicks on the checkout button without enetring any values it shows border-color red for invalid fields!here is the css for the other input fields
‘.woocommerce form .form-row.validate-required.woocommerce-invalid .chosen-drop, .woocommerce form .form-row.validate-required.woocommerce-invalid .chosen-single, .woocommerce form .form-row.validate-required.woocommerce-invalid input.input-text, .woocommerce form .form-row.validate-required.woocommerce-invalid select, .woocommerce-page form .form-row.validate-required.woocommerce-invalid .chosen-drop, .woocommerce-page form .form-row.validate-required.woocommerce-invalid .chosen-single, .woocommerce-page form .form-row.validate-required.woocommerce-invalid input.input-text, .woocommerce-page form .form-row.validate-required.woocommerce-invalid select {
border-color: #fb7f88
}’pls help!
thanks in advance!can u pls be more clear with example?? please thanks
is there any other way for inline notice in woocommerce ? ??
Forum: Plugins
In reply to: [WooCommerce] how to add validation to add to cart button in woocommercehi gh0pi i tried that example but when i try adding the function validation to function.php
function validate() { var FieldVal = document.getElementById('field').value; if (FieldVal>=1 && FieldVal<=5) { return true }else{ wc_add_notice( __( 'Please enter between 1 to 5.', 'woocommerce' ), 'error' ); return false } } add_action( 'woocommerce_add_to_cart_validation', 'validate', 10, 5 );
the site is not displayed it shows following error:
The localhost page isn’t working
localhost is currently unable to handle this request.
500please help!
ok i solved it.. was missing <?php wp_head();?> in header.php
ok i solved it, in case if anyone needs it!
i was missing <?php wp_head(); ?> in my theme header.php you have to add this just above the </head>.
thanks! ??
Forum: Plugins
In reply to: [WooCommerce] add to cart button is not working for variable product!ok i solved it, in case if anyone needs it!
i was missing <?php wp_head(); ?> in my theme header.php you have to add this just above the </head>.
thanks! ??
no i dont have any, still its not working!
Forum: Plugins
In reply to: [WooCommerce] add to cart button is not working for variable product!simple product just work fine!
https://www.pik2pack.com/blog/?product=leather-blazer-jacket-with-zip-pockets-2