I am using Valult theme in bigcommerce and want to edit checkout page because i want to rename the a button. I went through all the files but there was no html check i found a tag {{{ checkout.checkout_content }}} in checkout page which is rending that part containing button. There is no file with contains the tag html. This content is rendered in Inspect element but when i view the source of page the content is not present there.
I tried to change the name of button with JS/JQ but it is not working because that Tag part wont comes in Source file but somehow it is present in inspect element.
How can it edit the Button name now ?
The checkout content is rendered with React.js. The only way to edit the template would be to build a custom checkout. This is probably a bit overkill here. To simply edit the text of a button, you have a few options. However, the simplest would be to just add the translation key to your en.json lang file and change the value to the desired text.
In your theme files, navigate to en.json. Find the end of this file, and right before the last closing brace, add in the optimized_checkout key, along with any values you need. For example, if I wanted to change the "Continue with PayPal" button text to be "Continue", I would replace the last two lines of en.json with the following:
},
"optimized_checkout": {
"payment": {
"paypal_continue_action": "Continue"
}
}
}
There is more information on how to do this here: https://developer.bigcommerce.com/stencil-docs/localization/multi-language-checkout
And here is the reference for the optimized checkout keys to use: https://github.com/bigcommerce/checkout-js/blob/master/src/app/locale/translations/en.json
Related
I have data in .CSV file namely: {url} and {title}. What type of properties/tokens I can apply in email template (using Module: text) to get {title + url} as clickable text (hyperlink).
I don't have coding skills so please use explanation as simple as possible if any type of code is required.
Thanks
I assume you are using the Design Editor, right?
In this case you need to add {{text}} (or in your case title) within the text module and hit the "Link button" in the left-hand sidebar.
A dialog should pop up in which you can enter the placeholder for the {{url}}
I have written some markdown text in the README.md of a plunk. If I open the Embedded View, and click View the project details button on the top right, the README.md text does not show, just the name of the Plunk and the creator are displayed.
Also, on the Info panel, the markdown does not display the code syntax highlighting - it puts it in a code block, but without the highlighting
```javascript
"use babel";
document.onload = (e) => {
alert('I just annoyed whoever visited this page! USING ES6!');
};
```
Anyone have any info or advice on this?
In order to create an embedded plunk that displays a rendered version of a Markdown (or other) file as the default view, two things need to be done:
show=preview - Tell the embed that the only pane to be shown should be the preview pane. You could also say show=script.js,preview to tell the embed to show the script.js file and the preview.
preview=README.md - Tell the embed that instead of opening the default / preview, to use a specific file. The filename specified does not need to be exact; preview=readme will also work.
For example, here is a link that demonstrates this for the plunk you provided: https://embed.plnkr.co/2mIgB8pGRO7pHXpKJWxj/?show=preview&preview=readme
These, and other supported configuration options, for the embed view are detailed in this gitbook page.
Here are the problems that I'm facing with a small jQuery script :
In the input with value hello after I click on add button followed by clicking on remove, The link to add vanishes. What triggers this in jQuery?
Upon clicking on add below the second input, a new link for remove is added for each input field that is added, I would want only one remove link that would remove the most recently added input field.
Check out My jsFiddle to see the problems in action.
****** MIND READING MODE ON ******
I think this is what you need:
http://jsfiddle.net/nicolapeluchetti/pgDcq/4/
Tell me if it's ok
UPDATE
****** MIND READING MODE OFF******
Mission accomplished
I have a Plone 4 site using collective.xdv for the theme. Overlays for the login and contact form work fine.
But if I go to edit > categorization tab and try to add a related item, the overlay is blank. Looking at it in Firebug, the tags are correct down to div.overlaycontent. But inside of that div is my static HTML from the XDV theme's index.html.
Is there a special rule that I need for the overlays?
I cannot use plone.app.theming because this site is using more than just Plone.
In the xdv configuration(or append "##xdv-settings" onto site url), you can add unstyled paths.
I think what you'll need is:
^.*/referencebrowser_popup(\?.*)?$
or
^.*refbrowser_popup(\?.*)?$
If neither of those work, figure out the url that's being requested and add it as an unstyled path.
I am totally new to Joomla. I am trying to help a friend whose ISP has stopped support (for some internal reasons). We need to change the title of the home page.
1) The first place i made a change was in the 'Front Page Manager'. I changed the 'Title' column. The 'Show Title' parameter on this page is set to 'Global'. Yet the new title does not appear.
2) I then downloaded the entire site , consisting of 10,000 files and searched for the old title in all the files. I found the old title in one file which seemed to be used for SEO pruposes , since it had a whole lot of companies and their titles. I uploaded this file. No effect.
3) I then browsed through the database (MySQL) and changed old titles found in MetaKey and MetaDescription columns to new title. I think i checked all tables (almost 100 odd tables). No effect.
4) I found the old title in the 'Top Menu' item and changed it too.
I know this is a bit ambiguous but how could i troubleshoot the source of this title which does not get changed ?
Thanks,
Chak
Titles in Joomla come from several places. As Legycsapo said, the first place you should look is the default menu item. In the Parameters (System) the Page Title should override any other setting unless you have an extension that sets the page title. The Show Page Title option determines if the title shows up in the content, it does not affect the page title.
Try to change it in the menu options. In the mainmenu, click on the "Home" link, or whatever you write for Frontpage, and there are options in the right. The last one is the parameters, system, there is a "Website title" input box. Try there !
You need to change the home page title in the Control Panel Configuration.
In the Site tab you have the Site Name which is what will be written in the page title.
Another solution is, if you have SEF urls enabled, joomla has a native plugin called SEOsimple. Look under Plugin Manager, click on it and change the title to either disable so that it takes the title by default from global configuration or your custom one.