What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Suggestion Refused move the buy button?

jollyriffic

New Member
what would be nice, if the buy button was inside the actual post.
i haven't sold a single thing without explaining where the button to buy is, gets very old.
think the best place would be at the bottom of the content of the first post.
Like if i was selling in this post at the very end would be a button here​


[ buy now ]

 

Freelancer

Member
Wouldn't think so. The "Buy button" is in conformity with the "Call-to-Action" button of XF and all add-ons use it this way. Look at the Resource Manager for example. "Download Now" is exactly the same. Users need to get used to one system, not different ones.
 
Last edited:

Clement

Freaky Coder
Staff member
Yeah this is my feeling as well and the reason why I did it like that.
So not really willing to go another way.
 
It does need to be moved where users can find it, our members/ users are not forum owners familiar with the Xenforo site. This should be an option or at least instructions on how to move it as I have requested.
 

Clement

Freaky Coder
Staff member
I'll see if this is feasible but the location inside the post is a complicated location.
 
How about here? This would work for now. If you could give me instruction I would appreciate it.

View attachment 2659
No, I have Google ads just above that, thats the issue, you would have to scroll up past the ads to find the button on my site. See below, a larger picture so you can see where it sits now above ads well away from the post. Also look how the button is so large with the commission that served me no purpose on my site.

Screen Shot 2017-03-15 at 8.32.55 PM.png
 

Clement

Freaky Coder
Staff member
What you could try is edit the template modification, the one from Forum Sales attached to the thread_view template.
The one which state "Add payment button to thread view".

The change it to Simple Replacement.

In the Find, set:
Code:
<xen:hook name="thread_view_pagenav_before" params="{xen:array 'thread={$thread}'}" />

In the Replace set:
Code:
$0
<xen:include template="xfa_fss_payment_button" />

You may need to activate the debug mode for that.

Clément
 
What you could try is edit the template modification, the one from Forum Sales attached to the thread_view template.
The one which state "Add payment button to thread view".

The change it to Simple Replacement.

In the Find, set:
Code:
<xen:hook name="thread_view_pagenav_before" params="{xen:array 'thread={$thread}'}" />

In the Replace set:
Code:
$0
<xen:include template="xfa_fss_payment_button" />

You may need to activate the debug mode for that.

Clément
I must of screwed something up, the button cant be seen anymore.
 
I must of screwed something up, the button cant be seen anymore.
Never mind, I uninstalled/ reinstalled the add on. But please, I must have the button moved to a good location for people to see it and remove the commission text on button, I haven't been able to even sell items yet. I would appreciate help.
 
I removed this code in the template and it seems to have removed the text on the button, is this ok or the correct way to remove it?
Code:
<small class="minorText">{xen:phrase xfa_fss_x_percent_taken_by_website_as_commission, 'percent={$thread.xfa_fss_percentage}'}</small>
 

Clement

Freaky Coder
Staff member
If you followed my instructions carefully it should be working.

With regards to the text.
Yes.
 
If you followed my instructions carefully it should be working.

With regards to the text.
Yes.
I did, however it only moved it slightly down, see image, it would be appreciated if you could help me get it below the ads - just above the first thread.

IMG_0277.PNG
 

Clement

Freaky Coder
Staff member
I would recommend you to move the ads above the tools menu.
It doesn't seem right to see the ads below that line.

Have you asked the ads manager add-on to see if ads could be moved a bit ?
 
I would recommend you to move the ads above the tools menu.
It doesn't seem right to see the ads below that line.

Have you asked the ads manager add-on to see if ads could be moved a bit ?
I could movee them below threads, is there a way to line up the button a little better? Is sort of sagging low.
 
After moving the ads below the threads, the button doesn't look badd, I guess, is there a way to move it slightly to the left and center it a bit so it doesn't cover my graphics?

Screen Shot 2017-03-19 at 5.55.48 PM.png
 

Clement

Freaky Coder
Staff member
You could add this to your extra.css:

Code:
.xfa_fss_payButtonContainer {
margin-right: 75px;
}

And adjust it to your wishes.

With regards to vertical alignment, it would be far more complicated as it would need to completely break the layout of the button.
Currently it's made to be aligned with the thread title.
 
You could add this to your extra.css:

Code:
.xfa_fss_payButtonContainer {
margin-right: 75px;
}

And adjust it to your wishes.

With regards to vertical alignment, it would be far more complicated as it would need to completely break the layout of the button.
Currently it's made to be aligned with the thread title.
That worked - thank you.
 
Top