All Questions
Tagged with php javascript
191 questions
0
votes
0
answers
20
views
Magento 2.4.0 – Mailchimp “Site status undetermined” when adding JS code
I’m on Magento 2.4.0 and trying to connect my store to Mailchimp.
Steps I tried:
In Content → Design → Configuration, I edited my store view.
Pasted Mailchimp’s verification JS code in the Scripts and ...
0
votes
0
answers
73
views
Magento 2: Pass custom product attribute to a custom javascript file
I am currently struggling with accessing a custom product attribute (zshortname), which is defined in magento admin panel, in my custom javascript file and send it to google tag manager over dataLayer....
0
votes
1
answer
63
views
How to scrap image from Magento script type="text/x-magento-init"
I'm using simple_html_dom.php function to scrap data to specific Magento site. I am able to scrap all of the things but can't able to find additional images which are comes from script type="text/...
0
votes
1
answer
299
views
TypeError: Cannot read properties of undefined (reading 'isLoggedInBolt')
I have upgraded from Magento 2.4.6 to version 2.4.6-p6.
Then I'm having troubles when shopping with my store (at the checkout instance), as it does not return the payment methods enabled in the ...
0
votes
1
answer
78
views
Magetno 2 how to send the request of place order when user checked on the check box of terms and condtion
I have changed the checkout process into 4 steps
Adress
Shipping
Payment methods and agreement
Summary and place order button
everything is working fine accept the terms and condition. I have put ...
0
votes
1
answer
85
views
How to prevent user sending requests frequently?
I believe it can be done with a PHP controller or JS cookie manipulation.
Help me with logic. For example, I want a user to send a request once every 2 minutes.
Let's pretend I've implemented some ...
1
vote
1
answer
90
views
Show simple products URL in bundle summary
We want to make product name clickable in bundle summary.
When user click on product it should be redirected to simple product page.
Anyone knows if it possible?
0
votes
1
answer
158
views
Magento 2 How to get td value using script and assign that value to php variable in same phml file?
I have php variable called itemId in same phtml file and i got td value using js. now i need to assign that var id value to $itemId variable.
<?php
$itemId = null;
?>
<table class=&...
0
votes
1
answer
37
views
How can i pass product attribute manufacturer and SKU to javascript?
I have the following script which i need to add the product brand/manufacturer and SKU
<script>
window.addEventListener('liveload', function() {
IcecatLive.getDatasheet(
{...
0
votes
1
answer
256
views
how to create auto youtube subscribe link
i want to create such a link , when any person click on this link then it redirect to our youtube channel and click automatically subscibe button. (please don't suggest this method ?sub_confirmation=...
1
vote
2
answers
1k
views
Magento 2 How to add custom slider on hyva theme
i am trying to build custom slider on hyvatheme i am only able to find one solution but instructions are not clear in this "https://docs.hyva.io/hyva-themes/view-utilities/custom-sliders.html&...
0
votes
0
answers
53
views
$_SESSION that has been unset is saved back in magento with custom GTM (google tag manager) x GTM Weltpixel
I have some issue after add custom tag in GTM and setting configuration in magento by Weltpixel for GTM extension
so, i have custom tag for tracking event login, logout, banner click, brand click, etc ...
0
votes
2
answers
418
views
There has been an error processing your request: Error log record number: d11d948cb3596b359566fa162df65dbf6baef2446fe384f4476057675f3dd95f
Exception printing is disabled by default for security reasons.
Error log record number: d11d948cb3596b359566fa162df65dbf6baef2446fe384f4476057675f3dd95f
i run the record log number in putty this what ...
0
votes
1
answer
400
views
Magento 2.4 - Add class for decimals in the price
I'm use Magento 2.4 and I need to change the format of the final price. I need to add a class for decimals. I want to add some css style to the decimals in the price. For example decimals must be much ...
0
votes
1
answer
164
views
Grouped products, how to config childrens + increase and - decrease qty function correctly?
I have a problem with + increase and - decrease qty function. On 1 single click it goes up +2 or -2. It also do so on other children products qty inputs. How can I fix this correcly?
\...