eBay search form - html

I'm working on a website for my work and it's for our eBay webpage. eBay no longer supports active content. So I had to remove our JS and active content but there is one bit of active content I can't remove. My search bar contains a form action which I guess will no longer be supported. I'm on mobile so I'll try to display HTML correctly in my question. Currently, I have:
<form name="frm" action="(store link)">
<input name="_nkw" class="inputbb" type="text" placeholder="search">
</form>
How can I link it to the store not using action?

eBay FAQs
I don't have an eBay store to play with, so can't give a full walkthrough answer, but found the following info in the eBay FAQs:
Can I use HTML to design my Store home page?
Yes. Store sellers can create a custom header with HTML just below the standard eBay Store header. In addition, Store sellers can build a completely customized Store home page using HTML. To take advantage of these customization opportunities, go to the Manage My Store page and click on "Store Design" in the left column. Sellers can also easily create links to their Store by using HTML Builder, located in the left column in Manage My Store.
You'll see that a couple of the terms used in that quote are linked to your store pages, so linking them here is unlikely to work.
Also, according to this resource:
Key elements in a Shop listing header
Your Shop listing header always includes your Shop name, a link to your Shop home page, and your Shop colours. You can also include:
* Your Shop logo
* A search box that enables buyers to search your Shop
* ...
Followed by:
Creating or editing your Shop listing header
* To create or edit your Shop listing header:
* Go to My eBay and log in if required.
* Click Manage My Shop in the left navigation.
* Click Listing Template in the left navigation.
And here's another resource with similar information.

Related

Social Media share buttons (Facebook,Linkedin,Twitter) with images

I am using the followings URL for sharing my page on Twitter, Facebook and Linkedin.
a href='https://www.facebook.com/share.php?u='+${url}+'&title=Title'
a href='https://www.linkedin.com/shareArticle?mini=true&url='+${url}+'&title=Title&source='
a href='https://twitter.com/intent/tweet?url='+ ${url} +'&hashtags='
In my page, there will be many products displayed, and for each product, I need to share it separately. So I need to share images based on the share button of a particular selected product.
For example, if my page has 5 product then we have a total of 5 images(1 image per product), then if a user choose to share the 2nd product then while sharing to social media (Share cards) we need to display the image of 2nd product.
In Pinterest, I have achieved it by using its share URL itself (&media).
a href='https://www.pinterest.com/pin/create/button/url='+${url}+'&media='+${imageurl}+'&description='
I have tried it with using meta tags. Title, description, URL is correctly populated but images are not displayed properly. I cant use javascript to fill image path because social media crawlers will not validate javascript methods. Is there any way to achieve it by passing the image path along with social media share url.?(Something like I have in Pinterest). Any help will be appreciated.

I need to Display an specific product page on a CMS page in magento

Please help! I need to display an specific product page in a cms page (not the product list). This is so that I can choose that cms page as my homepage. Bottom line is that I need the product to be my homepage. I've tried everything! Using xml codes only displays the product list and not the actual product page itself.
You can do this using the "Default Web URL" in the System configuration.
You will have to replace the default value cms by the product url in this format: catalog/product/view/id/PRODUCT_ID/category/CATEGORY_ID/, you can find the product ID in the back-end panel by looking at the url of the edit product page.

Regarding WordPress custom homepage

This is more of a process question than coding. I have a custom homepage with logo, menu, footer similar to other pages. But there are few other contents which are different in the homepage, as usual, i.e, a title, a description div, a social links div and a few more, which are only in the home page.
Now the question is, since I want the admin to change this dynamically, how should I easily implement this for the site owner. Should I make a top-level menu named Homepage in WordPress dashboard and add all these meta boxes (with title, description, social fields) on that admin page so that he can fill this in from the back-end or make a custom post-type with the mentioned custom fields? Or should I add a menu under appearance with the relevant fields to be filled.
I am confused about the standard way. I am new to WordPress and just learning. This clarification will help me get a pre-idea. I completed the HTML and now converting the site to WordPress. Just give me a general overview please, nothing detail, I'll get the rest done. I would like to know the difference between the options mentioned above in a nut-shell (what is for what actually) and what is the standard way to add the custom home page fields for the site admin to input page contents easily.
Thanks in advance.
You would need to create a static front page.
https://codex.wordpress.org/Creating_a_Static_Front_Page
Basically you can create a standard page and then from wordpress customizer make that page a front page. Client will edit it from the back end just as any other standard page.

Liking - Aggregating One Number For All Pages

I have Facebook Likes buttons on every page of my website. I want it so that when a user Likes, there will be a Like pointing to the current page they are on. But the number will reflect how many Likes for the entire page. I am wondering if this is possible?
From my understanding, the number of Likes is associated with the link the user is liking. Is my understanding correct?
Facebook like buttons are linked to a URL - either that of your website home:
www.example.com
OR separately a single page
www.example.com/post-about-example
When you create the like button you decide what the like is against - essentially if you are selecting the home page - it is still only liking a single page, but its just the main page you want the facebook profile to link to. You need to have each button liking EITHER your home OR your individual page - one button cannot do both.
On a side note - from an SEO standpoint, it is better if your likes are associated with your home page as this should link to your most important pages first - reaping the best SEO benefit for the more important pages - whilst also directing users to what is set up as a landing page.
If your site is one which relies on multiple posts, say a blog. It may be better to go down the path whereby each post url has its own facebook like button FOR THAT URL. This way each post gets more exposure.
I hope that answers your question.

Orchard CMS - theming

I have some questions regarding theming Orchard CMS. So, let's begin... I have a website that will have 5 pages and some of them have different layouts.
Pages and zones within it:
Homepage - Content, TripelFirst, TripelSecond, TripelThird
Concept and Rentals page - Content, AsideFirst, AsideSecond
Press and Service Department page - Content, AsideFirst, AsideSecond (different layout then the previous two pages)
Note: Even though all of the pages have the Content zone, except Homepage none of the pages uses it. Other pages only have HTML widgets located in one of the zones.
1) I've read that it is possible to create the layout for the specific ID, the problem is I can't find that ID to create the layout for specific ID.
2) As you can see, couple of pages have the same layout, how to assign them to the specific layout? For example, if I create the layout for Concept and Rentals page how can I assign the specific layout to them and also how can I assign the layout to Press and Service Department pages?
3) How to add the class tag to the body? The problem is that Orchard CMS creates the body before everything else so it isn't contained in the layout cshtml files.
Thank you in advance!
when you edit the page in the admin, the url will look something like http://localhost:30320/OrchardLocal/Admin/Contents/Edit/16
16 is the id here.
Several things you can do. Easiest is to use this module: http://orchardproject.net/gallery/List/Modules/Orchard.Module.Downplay.Orchard.LayoutSelector
Alternatively, you could programmatically create alternates based on arbitrary criteria: http://weblogs.asp.net/bleroy/archive/2010/12/14/switching-the-layout-in-orchard-cms.aspx
Finally, you can often avoid to have to create an actual separate layout by just varying what widgets go where, using layers.
The body tag is in document.cshtml, which you can override in your own theme.
1. Not sure what you mean by ID? If you click Widgets on the DashBoard, there are Layers there. A layer is a collection of widgets that will activate for a specific thing, Like the authenticated Layer will display those widgets you define when a user is authenticated.
Expanding on (1) and for (2), you will be able to create a new layout by adding widgets to a layer.
Check out:
Tagged Layer Rule - Allows you to add widgets based on a tag. Now, you can add pages for concepts and rentals and then specify a layer for these tags, within that layer, you can add any widgets you like. These will only appear when that tag is encountered.
Also check out:
Content Type Layer Rule - Haven't tried this, but it falls on the same lines.
3. To customize the look there is something called Shapes. Each Zone I think has a corresponding cshtml files. You can even use the ShaperBuilder to even render html in code, again, don't know too much about this but I can tell you, you need to look into these articles.
Using shapes as Html helpers in Orchard
Using shapes as Html helpers in Orchard
Taking over list rendering in Orchard
Dispatching Orchard shapes to arbitrary zones
HTH, I'll try and contact some orchard folk that are on SO.
So to help you out here
The ID of the Home Page is always 11 for a fresh install though I imagine that you can delete the home page and create a new one and give it another ID. To find the ID of the other pages open up the DB and look at the Content Items.
I know of no way to apply Layouts other than by ID so just duplicate the layout pages as you have so few pages.
I would just use a small jQuery script
$(document).ready(function{
$('body').addClass('SomeClass');
});