I currently have added a price rule to shopify via the post method. const title = body.get("title"); const price_rule = new admin.rest.resources.PriceRule({session: session}); price_rule.title = title; price_rule.value_type = "fixed_amount"; price_rule.value = "-10"; price_rule.customer_selection = "all"; price_rule.target_type ="line_item"; price_rule.target_selection = "entitled"; price_rule.allocation_method = "each"; price_rule.starts_at = "2018-03-22T00:00:00-00:00"; price_rule.entitled_product_ids = [ 6952008155224 ]; price_rule.prerequisite_quantity_range = { "greater_than_or_equal_to": […]
Closed. This question is seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. It does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered […]
I've researched this issue, there are multiple suggested solutions but currently can't find a sufficient solution that would help. My custom post type pagination redirects to the homepage, the same solution working on by blog page. inc/cpt.php: register_post_type( 'casestudies', array( 'labels' => array( 'name' => __('Case studies'), 'singular_name' => __('Case studie') ), 'public' => true, […]
I've created a WordPress website for client and used elementskit with elementor for header and footer. When I tested the website it's all perfect and looks good. Now the header and footer are not displaying. I've checked the code, plugin conflicts and theme issues, everything is updated and is latest version. Constructionmastertrucking.com I have exhaustively […]
In WooCommerce, child categories have the following URL structure: site.com/product-category/parent-category/child-category. However, if I modify the "parent-category" part of the URL in the browser, like this: site.com/product-category/parenwqewqt-qwecategory/child-category, the page still returns a 200 status code instead of a 404, even though the URL is incorrect. This seems to be a common WooCommerce issue that could lead […]
I would like to separate different output conditions, by using a snippet that filter price total amount and product type. I edited the code from a previous answer to my question by adding some different conditions at the end: Check if there are ONLY APPOINTMENT in the checkout to show nothing or just a thank […]
I need to send a url redirect to a third-party application after a form is submitted with the following structure: (checkoutlink)?&fn=[field+id="name"]&em=[field+id="email"]&ph=[field+id ="phone"] And for this, I use the dynamic links of the Elementor form, as it has a custom checkout url field on each product page. The problem is that WordPress is inserting amp; after […]
I'm working on a WordPress site that explores spiritual meanings and symbolism of various aspects of life, including birds, animals, and human body parts. The site uses custom HTML and CSS for displaying symbolic images, but recently, I've encountered a strange issue: images are loading either partially or are cropped on certain pages. Here's what […]
I'm having trouble with some custom code in WordPress after the recent updates. The code used to work perfectly, but now, when the Gutenberg block editor is active, it no longer displays correctly. I found a workaround by disabling the block editor for widgets with the following code: add_filter('use_widgets_block_editor', '__return_false'); When I disable the block […]
Main Section: It has h2 and description -> It was sticky with top:80, Inner section 1: It is sticky with top:80 and other inner sections too. Once the inner section 4 is reached his position, then it should scroll to top with Main Section. I tried this, but the last inner section is overlapping with […]